Class ShapeCombKind

class ooodev.utils.kind.shape_comb_kind.ShapeCombKind(value)[source]

Shape combine Kind

static from_str(s)[source]

Gets an ShapeCombKind instance from string.

Parameters:

s (str) – String that represents the name of an enum Name. s is case insensitive and can be CamelCase, pascal_case , snake_case, hyphen-case, normal case.

Raises:
  • ValueError – If input string is empty.

  • AttributeError – If unable to get ShapeCombKind instance.

Returns:

Enum instance.

Return type:

ShapeCombKind

COMBINE = 3
INTERSECT = 1
MERGE = 0
SUBTRACT = 2