svg-layout-designer-react/src/Enums/PropertyType.ts
2023-02-14 10:15:12 +01:00

32 lines
652 B
TypeScript

/**
* Describe the type of the property.
* Used for the assignation in the OnPropertyChange function
* See ContainerOperations.ts's OnPropertyChange
*/
export enum PropertyType {
/**
* Simple property: is not inside any object: id, x, width... (default)
*/
Simple,
/**
* Style property: is inside the style object: stroke, fillOpacity...
*/
Style,
/**
* Margin property: is inside the margin property: left, bottom, top, right...
*/
Margin,
/**
* Dimension options
*/
SelfDimension,
SelfMarginDimension,
ChildrenDimensions,
DimensionWithMarks,
DimensionOptions
}