Shape#
- class pyedb.dotnet.database.modeler.Modeler.Shape(type='unknown', pointA=None, pointB=None, centerPoint=None, radius=None, points=None, properties={})#
Bases:
objectShape class.
- Parameters:
- type
str,optional Type of the shape. Options are
"circle","rectangle", and"polygon". The default is"unknown.- pointA
optional Lower-left corner when
type="rectangle". The default isNone.- pointB
optional Upper-right corner when
type="rectangle". The default isNone.- centerPoint
optional Center point when
type="circle". The default isNone.- radius
optional Radius when
type="circle". The default isNone.- points
list,optional List of points when
type="polygon". The default isNone.- properties
dict,optional Dictionary of properties associated with the shape. The default is
{}.
- type
Overview#
Import detail#
from pyedb.dotnet.database.modeler.Modeler import Shape
Attribute detail#
- Shape.type = 'unknown'#
- Shape.pointA = None#
- Shape.pointB = None#
- Shape.centerPoint = None#
- Shape.radius = None#
- Shape.points = None#
- Shape.properties#