REBOL Programming/edge-size?

USAGE:Edit

EDGE-SIZE? face 

DESCRIPTION:Edit

Return total size of face edge (both sides), even if missing edge.

EDGE-SIZE? is a function value.

ARGUMENTSEdit

  • face -- (Type: object)

SOURCE CODEEdit

edge-size?: func [
    {Return total size of face edge (both sides), even if missing edge.} 
    face [object!]
][
    either face/edge [face/edge/size * 2] [0x0]
]
Last modified on 27 October 2012, at 22:10