RectangleEx extension

on

Properties

bottomLeftIn Point<double>

Available on Rectangle<double>, provided by the RectangleEx extension

no setter
bottomRightIn Point<double>

Available on Rectangle<double>, provided by the RectangleEx extension

no setter
center Point<double>

Available on Rectangle<double>, provided by the RectangleEx extension

no setter
heightIn double

Available on Rectangle<double>, provided by the RectangleEx extension

no setter
size Point<double>

Available on Rectangle<double>, provided by the RectangleEx extension

no setter
topLeftIn Point<double>

Available on Rectangle<double>, provided by the RectangleEx extension

no setter
topRightIn Point<double>

Available on Rectangle<double>, provided by the RectangleEx extension

no setter
widthIn double

Available on Rectangle<double>, provided by the RectangleEx extension

no setter

Methods

calloc() Pointer<SdlFRect>

Available on Rectangle<double>, provided by the RectangleEx extension

callocInt() Pointer<SdlRect>

Available on Rectangle<double>, provided by the RectangleEx extension

centerOn(Point<double> center_) Rectangle<double>

Available on Rectangle<double>, provided by the RectangleEx extension

expansion(Point<double> value) Rectangle<double>

Available on Rectangle<double>, provided by the RectangleEx extension

expansionLT(Point<double> value) Rectangle<double>

Available on Rectangle<double>, provided by the RectangleEx extension

setHeight(double height_) Rectangle<double>

Available on Rectangle<double>, provided by the RectangleEx extension

setWidth(double width_) Rectangle<double>

Available on Rectangle<double>, provided by the RectangleEx extension

setX(double x) Rectangle<double>

Available on Rectangle<double>, provided by the RectangleEx extension

setY(double y) Rectangle<double>

Available on Rectangle<double>, provided by the RectangleEx extension

shift(Point<double> shift) Rectangle<double>

Available on Rectangle<double>, provided by the RectangleEx extension

union(Rectangle<double> b) Rectangle<double>

Available on Rectangle<double>, provided by the RectangleEx extension

Static Methods

fromCenter(Point<double> center, Point<double> size) Rectangle<double>

Available on Rectangle<double>, provided by the RectangleEx extension

fromLTWH(Point<double> topLeft, Point<double> size) Rectangle<double>

Available on Rectangle<double>, provided by the RectangleEx extension