Rectangle¶
- ipkiss3.all.Rectangle(layer, center=(0.0, 0.0), box_size=(1.0, 1.0))¶
Returns a Boundary Element with an rectangular shape.
- Parameters
- layer: Layer object, required
Layer on which the shape is drawn
- centerCoord2 or Tuple
Center coordinate of the rectangle, defaults to (0,0)
- box_sizeCoord2 or tuple with positive numbers.
Rectangular box inside which the rectangle is fitted. defaults to (1.0, 1.0)
- Returns
- Boundary element.
See also
Boundary
,ShapeRectangle
,RoundedRectangle
,RectanglePath
,Layer