var shape = Cx.Shape({
polyregions: [...],
brush:{ color:{ rgb: '000000' }}
});
Properties
Properties |
Type |
Def |
Definition |
polyregions |
Polyregion Array |
[] |
Shape polyregions |
shape.addPowerClipContents(figures);
Shape constructors
var rectangle = Cx.Shape.Rectangle({
bounds: Cx.Bounds(lx,ly,hx,hy)
, brush: brush, pen: pen
};
var rectangle = Cx.Shape.Rectangle({
center: Px(0,0), width: 200, height: 100
, brush: brush, pen: pen
};
var polyline = Cx.Shape.Polyline({
points: [...]
, brush: brush, pen: pen
});
Polyregion
Region
Curve
Polyline