RECT namespace

Symbols grouped by the RECT namespace.

Symbols in this namespace: 16

SymbolKindCategoryDescription
RECT.AREAFunctionGeometry functionsReturns w*h for valid rectangles, otherwise 0.
RECT.CLIPFunctionGeometry functionsClips a rectangle to image bounds [0,width) x [0,height).
RECT.CREATEFunctionGeometry functionsCreates a half-open pixel rectangle represented by x,y,w,h. XEND is x+w and YEND is y+h.
RECT.EMPTYFunctionGeometry functionsReturns TRUE when rect has zero/negative width or height.
RECT.EQUALFunctionGeometry functionsReturns TRUE when x,y,w,h are identical.
RECT.FROM_TEXTFunctionGeometry functionsReads a rectangle from RECT(x,y,w,h), RECT:x,y,w,h, or plain x,y,w,h text.
RECT.HFunctionGeometry functionsReturns the rectangle height in pixels.
RECT.INTERSECTFunctionGeometry functionsReturns the half-open intersection of two rectangles, or an empty rectangle when they do not overlap.
RECT.TO_TEXTFunctionGeometry functionsSerializes a rectangle as RECT(x,y,w,h).
RECT.UNIONFunctionGeometry functionsReturns the smallest half-open rectangle containing both valid rectangles.
RECT.VALIDFunctionGeometry functionsReturns TRUE when rect has strictly positive width and height.
RECT.WFunctionGeometry functionsReturns the rectangle width in pixels.
RECT.XFunctionGeometry functionsReturns the first included X pixel coordinate.
RECT.XENDFunctionGeometry functionsReturns the exclusive end X coordinate x+w.
RECT.YFunctionGeometry functionsReturns the first included Y pixel coordinate.
RECT.YENDFunctionGeometry functionsReturns the exclusive end Y coordinate y+h.

RECT.AREA

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.AREA(rect)

Returns w*h for valid rectangles, otherwise 0.

Minimal example

value = RECT.AREA(rect)

RECT.CLIP

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.CLIP(rect, width, height)

Clips a rectangle to image bounds [0,width) x [0,height).

Minimal example

value = RECT.CLIP(rect, width, height)

RECT.CREATE

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.CREATE(x, y, w, h)

Creates a half-open pixel rectangle represented by x,y,w,h. XEND is x+w and YEND is y+h.

Minimal example

r = RECT.CREATE(10, 20, 30, 40)

RECT.EMPTY

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.EMPTY(rect)

Returns TRUE when rect has zero/negative width or height.

Minimal example

value = RECT.EMPTY(rect)

RECT.EQUAL

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.EQUAL(a, b)

Returns TRUE when x,y,w,h are identical.

Minimal example

value = RECT.EQUAL(a, b)

RECT.FROM_TEXT

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.FROM_TEXT(text)

Reads a rectangle from RECT(x,y,w,h), RECT:x,y,w,h, or plain x,y,w,h text.

Minimal example

r2 = RECT.FROM_TEXT(RECT.TO_TEXT(r))

RECT.H

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.H(rect)

Returns the rectangle height in pixels.

Minimal example

value = RECT.H(rect)

RECT.INTERSECT

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.INTERSECT(a, b)

Returns the half-open intersection of two rectangles, or an empty rectangle when they do not overlap.

Minimal example

value = RECT.INTERSECT(a, b)

RECT.TO_TEXT

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.TO_TEXT(rect)

Serializes a rectangle as RECT(x,y,w,h).

Minimal example

value = RECT.TO_TEXT(rect)

RECT.UNION

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.UNION(a, b)

Returns the smallest half-open rectangle containing both valid rectangles.

Minimal example

value = RECT.UNION(a, b)

RECT.VALID

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.VALID(rect)

Returns TRUE when rect has strictly positive width and height.

Minimal example

value = RECT.VALID(rect)

RECT.W

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.W(rect)

Returns the rectangle width in pixels.

Minimal example

value = RECT.W(rect)

RECT.X

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.X(rect)

Returns the first included X pixel coordinate.

Minimal example

value = RECT.X(rect)

RECT.XEND

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.XEND(rect)

Returns the exclusive end X coordinate x+w.

Minimal example

value = RECT.XEND(rect)

RECT.Y

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.Y(rect)

Returns the first included Y pixel coordinate.

Minimal example

value = RECT.Y(rect)

RECT.YEND

FUNCTIONRECTBATCH-FRIENDLY
Kind: Function   Category: Geometry functions   Namespace: RECT

RECT.YEND(rect)

Returns the exclusive end Y coordinate y+h.

Minimal example

value = RECT.YEND(rect)