Back to Website
Show / Hide Table of Contents

Class GridHandler

Package: @aurigma/design-atoms

Constructors

(constructor)(colorParser)

Constructs a new instance of the GridHandler class

Declaration
constructor(colorParser: IColorParser);
Parameters
Type Name Description
IColorParser colorParser

Properties

gridContainer

Declaration
get gridContainer(): Container;
Property Value
Type Description
Container

gridContainers

Declaration
get gridContainers(): Collection<Container>;
Property Value
Type Description
Collection<Container>

surface

Declaration
get surface(): Surface;

set surface(value: Surface);
Property Value
Type Description
Surface

visible

Declaration
get visible(): boolean;

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

Methods

addChanged(listener)

Declaration
addChanged(listener: () => void): void;
Parameters
Type Name Description
() => void listener
Returns
Type Description
void

getGridParameters()

Declaration
getGridParameters(): {
        location: PointF;
        cols: number;
        stepX: number;
        rows: number;
        stepY: number;
    };
Returns
Type Description
{ location: PointF; cols: number; stepX: number; rows: number; stepY: number; }

removeChanged(listener)

Declaration
removeChanged(listener: () => void): void;
Parameters
Type Name Description
() => void listener
Returns
Type Description
void

setConfig(config, rulersConfig)

Declaration
setConfig(config: GridConfig, rulersConfig: IRulersConfig): void;
Parameters
Type Name Description
GridConfig config
IRulersConfig rulersConfig
Returns
Type Description
void
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