Skip to content

Shapes

ShapeCircle

Bases: Shape

getShapePoint(idstr)

Retrieve special named points for shapes

Parameters:

Name Type Description Default
idstr

idstr must be one of ["O", "G", "C"]

required

Returns:

ShapeRect

Bases: Shape

Class that instantiate a rectangular shape with width and height

Class that instantiate a rectangular shape with width and height. The origin point from default is in x = 0 y = 0. Special points are TL (top left), TR (top right), BL (bottom left), BR (bottom right), MB (medium bottom), MT (medium top), O (origin), G (geometrical barycenter).

getShapePoint(idstr)

Retrieve special named points for shapes

Parameters:

Name Type Description Default
idstr

idstr must be one of ["O", "G", "TL", "TR", "BL", "BR", "MB", "MT"]

required

Returns: