CartoType Android API 8.8-7-gb35e4dc71
for Java development on Android
|
Public Member Functions | |
ExtendedNoticePosition (NoticePosition aPosition) | |
ExtendedNoticePosition (NoticePosition aPosition, double aXInset, String aXInsetUnit, double aYInset, String aYInsetUnit) | |
Positions for notices like the legend or scale bar.
Notices are positioned by moving them inwards from the designated position by the specified insets. For central positions (e.g., the X inset in Top, or both insets in Center) X insets move the position right and Y insets move it down. Units may be 'cm', 'mm', 'in', 'pt' (points: 1/72in), or 'pc' (picas: 1/6in); anything else, including null, means pixels.
The default inset is 3mm, or zero for central positions.
com.cartotype.ExtendedNoticePosition.ExtendedNoticePosition | ( | NoticePosition | aPosition | ) |
Creates an ExtendedNoticePosition from a NoticePosition.
com.cartotype.ExtendedNoticePosition.ExtendedNoticePosition | ( | NoticePosition | aPosition, |
double | aXInset, | ||
String | aXInsetUnit, | ||
double | aYInset, | ||
String | aYInsetUnit | ||
) |
Creates an ExtendedNoticePosition from a NoticePosition, X and Y insets, and units in which the insets are defined.