Back to Website
Show / Hide Table of Contents

Class LineItem

Inheritance
ModelComponent
BaseItem
Item
LineItem
Package: @aurigma/design-atoms-model

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
Type Description
Color

fixedWidth

Declaration
get fixedWidth(): boolean;

set fixedWidth(value: boolean);
Property Value
Type Description
boolean

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
Type Description
LinePermissions

overprintStroke

Declaration
get overprintStroke(): boolean;

set overprintStroke(value: boolean);
Property Value
Type Description
boolean

sourcePoint0

Declaration
get sourcePoint0(): PointF;

set sourcePoint0(value: PointF);
Property Value
Type Description
PointF

sourcePoint1

Declaration
get sourcePoint1(): PointF;

set sourcePoint1(value: PointF);
Property Value
Type Description
PointF

type

Declaration
type: string;
Property Value
Type Description
string

type

Declaration
static type: string;
Property Value
Type Description
string

width

Declaration
get width(): number;

set width(value: number);
Property Value
Type Description
number

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
Type Description
void

_subscribeToPermissionChanged()

Declaration
protected _subscribeToPermissionChanged(): void;
Returns
Type Description
void

_unsubscribeFromPermissionChanged()

Declaration
protected _unsubscribeFromPermissionChanged(): void;
Returns
Type Description
void

applyPermissionsConstrain()

Declaration
applyPermissionsConstrain(): void;
Returns
Type Description
void

clone(generateNewIds, appropriateParentContainer)

Declaration
clone(generateNewIds?: boolean, appropriateParentContainer?: boolean): LineItem;
Parameters
Type Name Description
boolean generateNewIds
boolean appropriateParentContainer
Returns
Type Description
LineItem

equals(other)

Declaration
equals(other: LineItem): boolean;
Parameters
Type Name Description
LineItem other
Returns
Type Description
boolean

getSimplifiedObject(omitProperties)

Declaration
getSimplifiedObject(omitProperties?: string[] | string): Object;
Parameters
Type Name Description
string[] | string omitProperties
Returns
Type Description
Object
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback