| Home | | | Quick start | | | Cookbook | | | All symbols | | | Analytical index | | | Namespaces | | | Syntax | | | Statements | | | CX | | | Frequency | | | Functions | | | Examples | | | Examples by command |
Symbols grouped by the RECT namespace.
Symbols in this namespace: 16
| Symbol | Kind | Category | Description |
|---|---|---|---|
RECT.AREA | Function | Geometry functions | Returns w*h for valid rectangles, otherwise 0. |
RECT.CLIP | Function | Geometry functions | Clips a rectangle to image bounds [0,width) x [0,height). |
RECT.CREATE | Function | Geometry functions | Creates a half-open pixel rectangle represented by x,y,w,h. XEND is x+w and YEND is y+h. |
RECT.EMPTY | Function | Geometry functions | Returns TRUE when rect has zero/negative width or height. |
RECT.EQUAL | Function | Geometry functions | Returns TRUE when x,y,w,h are identical. |
RECT.FROM_TEXT | Function | Geometry functions | Reads a rectangle from RECT(x,y,w,h), RECT:x,y,w,h, or plain x,y,w,h text. |
RECT.H | Function | Geometry functions | Returns the rectangle height in pixels. |
RECT.INTERSECT | Function | Geometry functions | Returns the half-open intersection of two rectangles, or an empty rectangle when they do not overlap. |
RECT.TO_TEXT | Function | Geometry functions | Serializes a rectangle as RECT(x,y,w,h). |
RECT.UNION | Function | Geometry functions | Returns the smallest half-open rectangle containing both valid rectangles. |
RECT.VALID | Function | Geometry functions | Returns TRUE when rect has strictly positive width and height. |
RECT.W | Function | Geometry functions | Returns the rectangle width in pixels. |
RECT.X | Function | Geometry functions | Returns the first included X pixel coordinate. |
RECT.XEND | Function | Geometry functions | Returns the exclusive end X coordinate x+w. |
RECT.Y | Function | Geometry functions | Returns the first included Y pixel coordinate. |
RECT.YEND | Function | Geometry functions | Returns the exclusive end Y coordinate y+h. |
RECT.AREA(rect)
Returns w*h for valid rectangles, otherwise 0.
value = RECT.AREA(rect)RECT.CLIP(rect, width, height)
Clips a rectangle to image bounds [0,width) x [0,height).
value = RECT.CLIP(rect, width, height)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.
r = RECT.CREATE(10, 20, 30, 40)RECT.EMPTY(rect)
Returns TRUE when rect has zero/negative width or height.
value = RECT.EMPTY(rect)RECT.EQUAL(a, b)
Returns TRUE when x,y,w,h are identical.
value = RECT.EQUAL(a, b)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.
r2 = RECT.FROM_TEXT(RECT.TO_TEXT(r))RECT.H(rect)
Returns the rectangle height in pixels.
value = RECT.H(rect)RECT.INTERSECT(a, b)
Returns the half-open intersection of two rectangles, or an empty rectangle when they do not overlap.
value = RECT.INTERSECT(a, b)RECT.TO_TEXT(rect)
Serializes a rectangle as RECT(x,y,w,h).
value = RECT.TO_TEXT(rect)RECT.UNION(a, b)
Returns the smallest half-open rectangle containing both valid rectangles.
value = RECT.UNION(a, b)RECT.VALID(rect)
Returns TRUE when rect has strictly positive width and height.
value = RECT.VALID(rect)RECT.W(rect)
Returns the rectangle width in pixels.
value = RECT.W(rect)RECT.X(rect)
Returns the first included X pixel coordinate.
value = RECT.X(rect)RECT.XEND(rect)
Returns the exclusive end X coordinate x+w.
value = RECT.XEND(rect)RECT.Y(rect)
Returns the first included Y pixel coordinate.
value = RECT.Y(rect)RECT.YEND(rect)
Returns the exclusive end Y coordinate y+h.
value = RECT.YEND(rect)