Back to Website
Show / Hide Table of Contents

Class GridItem

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

Constructors

(constructor)(x, y, cols, rows, stepX, stepY)

Constructs a new instance of the GridItem class

Declaration
constructor(x: any, y: any, cols: any, rows: any, stepX: any, stepY: any);
Parameters
Type Name Description
any x
any y
any cols
any rows
any stepX
any stepY

Properties

cols

Declaration
get cols(): number;

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

fixedLineWidth

Declaration
get fixedLineWidth(): boolean;

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

horizontalLineColor

Declaration
get horizontalLineColor(): Color;

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

lineWidth

Declaration
get lineWidth(): number;

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

location

Declaration
get location(): PointF;

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

rows

Declaration
get rows(): number;

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

stepX

Declaration
get stepX(): number;

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

stepY

Declaration
get stepY(): number;

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

type

Declaration
type: string;
Property Value
Type Description
string

type

Declaration
static type: string;
Property Value
Type Description
string

verticalLineColor

Declaration
get verticalLineColor(): Color;

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

Methods

_copy(source, destination, generateNewIds, appropriateParentContainer)

Declaration
protected _copy(source: GridItem, destination: GridItem, generateNewIds: boolean, appropriateParentContainer: boolean): void;
Parameters
Type Name Description
GridItem source
GridItem destination
boolean generateNewIds
boolean appropriateParentContainer
Returns
Type Description
void

clone(generateNewIds, appropriateParentContainer)

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

equals(other)

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