Class ShapeBasePointKind
- class ooodev.utils.kind.shape_base_point_kind.ShapeBasePointKind(value)[source]
Represent the 9 base points of a shape
New in version 0.9.4.
- static from_str(s)[source]
Gets an
ShapeBasePointKind
instance from string.- Parameters:
s (str) – String that represents the name of an enum Name.
s
is case insensitive and can beCamelCase
,pascal_case
,snake_case
,hyphen-case
,normal case
.- Raises:
ValueError – If input string is empty.
AttributeError – If unable to get
ShapeBasePointKind
instance.
- Returns:
Enum instance.
- Return type:
- BOTTOM_CENTER = 8
Bottom Center
- BOTTOM_LEFT = 7
Bottom Left
- BOTTOM_RIGHT = 9
Bottom Right
- CENTER = 5
Center
- CENTER_LEFT = 4
Center Left
- CENTER_RIGHT = 6
Center Right
- TOP_CENTER = 2
Top Center
- TOP_LEFT = 1
Top Left
- TOP_RIGHT = 3
Top Right