DiRectShape

Members

Functions

calcAllowRect
DiRect calcAllowRect(in DiRect r)

use min_size and max_size for calc new rect

contains
bool contains(in DiVec v)
contains
bool contains(in DiRect r)
intersect
bool intersect(in DiRect r)
reshape
bool reshape(in 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]

Inherited Members

From DiShape

rect
DiRect rect [@property getter]

bounding box of area

rect
DiRect rect [@property setter]
contains
bool contains(in DiVec)
contains
bool contains(in DiRect)
intersect
bool intersect(in DiRect)

Meta