DiRectShape

Members

Functions

calcAllowRect
DiRect calcAllowRect(DiRect r)

use min_size and max_size for calc new rect

contains
bool contains(DiVec v)
contains
bool contains(DiRect r)
intersect
bool intersect(DiRect r)
reshape
bool reshape(DiRect nr)

Properties

maxSize
DiVec maxSize [@property getter]
maxSize
DiVec maxSize [@property setter]
minSize
DiVec minSize [@property getter]
minSize
DiVec minSize [@property setter]
rect
DiRect rect [@property getter]
rect
DiRect rect [@property setter]

Variables

bbox
DiRect bbox;
max_size
DiVec max_size;
Undocumented in source.
min_size
DiVec min_size;
Undocumented in source.

Inherited Members

From DiShape

rect
DiRect rect [@property getter]

bounding box of area

rect
DiRect rect [@property setter]
contains
bool contains(DiVec )
contains
bool contains(DiRect )
intersect
bool intersect(DiRect )
pos
DiVec pos [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
DiVec size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta