API / geotoolkit / util / AnchorUtil / AnchorUtil
util.AnchorUtil.AnchorUtil
A utility class for AnchorType
Constructors
Methods
▸ Static fromString(anchorType): AnchorType
| Name | Type |
|---|---|
anchorType | string |
▸ Static isBottom(anchor): boolean
| Name | Type |
|---|---|
anchor | string |
boolean
▸ Static isLeft(anchor): boolean
| Name | Type |
|---|---|
anchor | string |
boolean
▸ Static isRight(anchor): boolean
| Name | Type |
|---|---|
anchor | string |
boolean
▸ Static isTop(anchor): boolean
| Name | Type |
|---|---|
anchor | string |
boolean
▸ Static toString(anchorType): string
| Name | Type |
|---|---|
anchorType | string |
string
▸ Static transform(transformation, anchor): AnchorType
| Name | Type | Description |
|---|---|---|
transformation | Transformation | transformation |
anchor | AnchorType | anchor type |
transformed anchor