< Rebol Programming

USAGE:

EDGE-SIZE? face 

DESCRIPTION:

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

EDGE-SIZE? is a function value.

ARGUMENTS

  • face -- (Type: object)

SOURCE CODE

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]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.