Class LineItem
Constructors
(constructor)(sourcePoint0, sourcePoint1)
Constructs a new instance of the LineItem class
Declaration
constructor(sourcePoint0?: PointF, sourcePoint1?: PointF);
Parameters
| Type |
Name |
Description |
| PointF |
sourcePoint0 |
|
| PointF |
sourcePoint1 |
|
Properties
color
Declaration
get color(): Color;
set color(value: Color);
Property Value
fixedWidth
Declaration
get fixedWidth(): boolean;
set fixedWidth(value: boolean);
Property Value
lineColorForAbnormalRendering
Declaration
readonly lineColorForAbnormalRendering: import("../../Colors").RgbColor;
Property Value
| Type |
Description |
| import("../../Colors").RgbColor |
|
linePermissions
Declaration
get linePermissions(): LinePermissions;
set linePermissions(value: LinePermissions);
Property Value
overprintStroke
Declaration
get overprintStroke(): boolean;
set overprintStroke(value: boolean);
Property Value
sourcePoint0
Declaration
get sourcePoint0(): PointF;
set sourcePoint0(value: PointF);
Property Value
sourcePoint1
Declaration
get sourcePoint1(): PointF;
set sourcePoint1(value: PointF);
Property Value
type
Declaration
Property Value
type
Declaration
Property Value
width
Declaration
get width(): number;
set width(value: number);
Property Value
Methods
_copy(source, destination, generateNewIds, appropriateParentContainer)
Declaration
protected _copy(source: LineItem, destination: LineItem, generateNewIds: boolean, appropriateParentContainer: boolean): void;
Parameters
| Type |
Name |
Description |
| LineItem |
source |
|
| LineItem |
destination |
|
| boolean |
generateNewIds |
|
| boolean |
appropriateParentContainer |
|
Returns
_subscribeToPermissionChanged()
Declaration
protected _subscribeToPermissionChanged(): void;
Returns
_unsubscribeFromPermissionChanged()
Declaration
protected _unsubscribeFromPermissionChanged(): void;
Returns
applyPermissionsConstrain()
Declaration
applyPermissionsConstrain(): void;
Returns
clone(generateNewIds, appropriateParentContainer)
Declaration
clone(generateNewIds?: boolean, appropriateParentContainer?: boolean): LineItem;
Parameters
| Type |
Name |
Description |
| boolean |
generateNewIds |
|
| boolean |
appropriateParentContainer |
|
Returns
equals(other)
Declaration
equals(other: LineItem): boolean;
Parameters
Returns
getSimplifiedObject(omitProperties)
Declaration
getSimplifiedObject(omitProperties?: string[] | string): Object;
Parameters
| Type |
Name |
Description |
| string[] | string |
omitProperties |
|
Returns