22 lines
502 B
TypeScript
22 lines
502 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,
|
|
}
|