-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move types to separate files
- Loading branch information
1 parent
10751cf
commit 9e0034f
Showing
4 changed files
with
73 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import { CIMObject } from "../CIMObject"; | ||
import { MaplexLabelRotationType, MaplexRotationAlignmentType, CIMExpressionInfo } from "./CIMMaplexLabelPlacementProperties"; | ||
|
||
/** | ||
* Represents Maplex rotation properties. | ||
* | ||
*/ | ||
export type CIMMaplexRotationProperties = CIMObject & { | ||
/** | ||
* Gets or sets a value indicating whether to enable rotation. | ||
*/ | ||
enable?: boolean; | ||
/** | ||
* Gets or sets the rotation type. | ||
*/ | ||
rotationType?: MaplexLabelRotationType; | ||
/** | ||
* Gets or sets the rotation field to get values from. | ||
*/ | ||
rotationField?: null | string; | ||
/** | ||
* Gets or sets a value indicating whether to place the label perpendicular to the angle. | ||
*/ | ||
perpendicularToAngle?: boolean; | ||
/** | ||
* Gets or sets a value indicating whether or not to align the label to the angle. | ||
*/ | ||
alignLabelToAngle?: boolean; | ||
/** | ||
* Gets or sets the alignment type. | ||
*/ | ||
alignmentType?: MaplexRotationAlignmentType; | ||
/** | ||
* Gets or sets additional angle to add to the data value. | ||
*/ | ||
additionalAngle?: number; | ||
/** | ||
* Gets or sets ExpressionInfo that contains the Arcade expression that returns rotation as a number. | ||
* When both RotationField and RotationExpressionInfo are present RotationExpressionInfo is used. | ||
*/ | ||
rotationExpressionInfo?: null | CIMExpressionInfo; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { CIMObject } from "../CIMObject"; | ||
|
||
/** | ||
* Represents Maplex strategy priorities. | ||
* | ||
*/ | ||
export type CIMMaplexStrategyPriorities = CIMObject & { | ||
/** | ||
* Gets or sets the priority for stacking. | ||
*/ | ||
stacking?: number; | ||
/** | ||
* Gets or sets the priority for overrun. | ||
*/ | ||
overrun?: number; | ||
/** | ||
* Gets or sets the priority for font compression. | ||
*/ | ||
fontCompression?: number; | ||
/** | ||
* Gets or sets the priority for font reduction. | ||
*/ | ||
fontReduction?: number; | ||
/** | ||
* Gets or sets the priority for abbreviation. | ||
*/ | ||
abbreviation?: number; | ||
}; |