API / geotoolkit / scene / AutoModelLimitsStrategy / AutoModelLimitsStrategy
scene.AutoModelLimitsStrategy.AutoModelLimitsStrategy
Synchronize model limits with bounds in horizontal or/and vertical direction
↳
AutoModelLimitsStrategy
Constructors
• new AutoModelLimitsStrategy(horizontalDirection?, verticalDirection?)
Creates auto model limits strategy
| Name | Type | Description |
|---|---|---|
Optional horizontalDirection | boolean | flag to set synchronization with bounds in horizontal direction |
Optional verticalDirection | boolean | flag to set synchronization with bounds in vertical direction |
ModelLimitsStrategy.constructor
Methods
▸ adjustModelLimits(model, modelLimits): Rect
Adjusts model limits
| Name | Type | Description |
|---|---|---|
model | CompositeNode<Node> | model |
modelLimits | Rect | model limits |
adjusted model limits
ModelLimitsStrategy.adjustModelLimits
▸ getClassName(): string
string
ModelLimitsStrategy.getClassName
▸ Static getClassName(): string
string