Back to Website
Show / Hide Table of Contents

Class PolylineItem

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

Constructors

(constructor)(points)

Constructs a new instance of the PolylineItem class

Declaration
constructor(points?: PointF[]);
Parameters
Type Name Description
PointF[] points

Properties

color

Declaration
get color(): Color;

set color(value: Color);
Property Value
Type Description
Color

sourcePoints

Declaration
get sourcePoints(): PointF[];

set sourcePoints(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: PolylineItem, destination: PolylineItem, generateNewIds: boolean, appropriateParentContainer: boolean): void;
Parameters
Type Name Description
PolylineItem source
PolylineItem destination
boolean generateNewIds
boolean appropriateParentContainer
Returns
Type Description
void

clone(generateNewIds, appropriateParentContainer)

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

equals(other)

Declaration
equals(other: PolylineItem): boolean;
Parameters
Type Name Description
PolylineItem other
Returns
Type Description
boolean
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