REBOL Programming/edge-size?

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

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.

ARGUMENTS[edit]

  • face -- (Type: object)

SOURCE CODE[edit]

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]
]