API / geotoolkit / scene / OneDimensionScaleScrollStrategy / OneDimensionScaleScrollStrategy
scene.OneDimensionScaleScrollStrategy.OneDimensionScaleScrollStrategy
OneDimensionScaleScrollStrategy input transformation adjustment. horizontal/vertical part of scaling/scrolling is blocked. Default horizontal part of scaling/scrolling is blocked
↳
OneDimensionScaleScrollStrategy
Constructors
Methods
Css Properties
| Name | Type | Description |
|---|---|---|
enabled | boolean | Enable flag |
mode | Mode | OneDimension scaling modes |
Constructors
• new OneDimensionScaleScrollStrategy(options?)
| Name | Type |
|---|---|
Optional options | Options |
ScaleScrollStrategy.constructor
Methods
▸ adjustTransformation(model, newTr): Transformation
Adjusts input transformation
| Name | Type | Description |
|---|---|---|
model | Group<Node> | model |
newTr | Transformation | transformation to adjust |
adjusted transformation
ScaleScrollStrategy.adjustTransformation
▸ getClassName(): string
string
ScaleScrollStrategy.getClassName
▸ getMode(): Mode
Returns strategy mode
▸ getProperties(): OptionsOut
Gets properties
properties
ScaleScrollStrategy.getProperties
▸ isEnabled(): boolean
Returns enable state
boolean
enable state
▸ setEnabled(enabled): OneDimensionScaleScrollStrategy
Set enable state
| Name | Type | Description |
|---|---|---|
enabled | boolean | sets the enabled state |
OneDimensionScaleScrollStrategy
this
ScaleScrollStrategy.setEnabled
▸ setMode(mode): OneDimensionScaleScrollStrategy
Set strategy mode
| Name | Type |
|---|---|
mode | Mode |
OneDimensionScaleScrollStrategy
this
▸ setProperties(properties): OneDimensionScaleScrollStrategy
Sets the projection properties
| Name | Type | Description |
|---|---|---|
properties | Options | properties |
OneDimensionScaleScrollStrategy
this
ScaleScrollStrategy.setProperties
▸ Static getClassName(): string
string