@aurigma/design-atoms-model
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
39 lines (38 loc) • 1.56 kB
TypeScript
import { Item } from "./Item";
import { PointF } from "../../Math/PointF";
import { LinePermissions } from "./LinePermissions";
import { Color } from "../../Colors";
export declare class LineItem extends Item {
private _width;
private _color;
private _sourcePoint0;
private _sourcePoint1;
private _fixedWidth;
private _overprintStroke;
readonly lineColorForAbnormalRendering: import("../../Colors").RgbColor;
constructor(sourcePoint0?: PointF, sourcePoint1?: PointF);
get width(): number;
set width(value: number);
get color(): Color;
set color(value: Color);
get sourcePoint0(): PointF;
set sourcePoint0(value: PointF);
get sourcePoint1(): PointF;
set sourcePoint1(value: PointF);
get fixedWidth(): boolean;
set fixedWidth(value: boolean);
private _linePermissions;
get linePermissions(): LinePermissions;
set linePermissions(value: LinePermissions);
get overprintStroke(): boolean;
set overprintStroke(value: boolean);
protected _subscribeToPermissionChanged(): void;
protected _unsubscribeFromPermissionChanged(): void;
applyPermissionsConstrain(): void;
getSimplifiedObject(omitProperties?: string[] | string): Object;
static type: string;
type: string;
protected _copy(source: LineItem, destination: LineItem, generateNewIds: boolean, appropriateParentContainer: boolean): void;
equals(other: LineItem): any;
clone(generateNewIds?: boolean, appropriateParentContainer?: boolean): LineItem;
}