Class SafetyLinesHandler
Constructors
(constructor)(conf, colorParser)
Constructs a new instance of the SafetyLinesHandler class
Declaration
constructor(conf: IPrintZoneConfiguration, colorParser: IColorParser);
Parameters
Properties
conf
Declaration
get conf(): IPrintZoneConfiguration;
set conf(value: IPrintZoneConfiguration);
Property Value
handlerPrefix
Declaration
static readonly handlerPrefix = "$SAFETY_LINE";
isSafetyLineItemHandler
Declaration
static isSafetyLineItemHandler: (h: ItemHandler) => boolean;
Property Value
safetyLinesContainers
Declaration
get safetyLinesContainers(): Collection<Container>;
Property Value
surface
Declaration
get surface(): Surface;
set surface(value: Surface);
Property Value
visible
Declaration
get visible(): boolean;
set visible(value: boolean);
Property Value
Methods
addChanged(h)
Declaration
addChanged(h: any): void;
Parameters
| Type |
Name |
Description |
| any |
h |
|
Returns
addVisibilityChanged(listener)
Declaration
addVisibilityChanged(listener: () => void): void;
Parameters
| Type |
Name |
Description |
| () => void |
listener |
|
Returns
dispose()
Declaration
Returns
removeChanged(h)
Declaration
removeChanged(h: any): void;
Parameters
| Type |
Name |
Description |
| any |
h |
|
Returns
removeVisibilityChanged(listener)
Declaration
removeVisibilityChanged(listener: () => void): void;
Parameters
| Type |
Name |
Description |
| () => void |
listener |
|
Returns