SignPostStyle

data class SignPostStyle(var maxWidth: Int, var maxHeight: Int, var maxFontHeight: Int = 11, var minFontHeight: Int = 7, var validSignBgAlpha: Int = 216, var validSignFgAlpha: Int = 255, var nonValidSignBgAlpha: Int = 192, var nonValidSignFgAlpha: Int = 255, var maxNbTextLines: Int = 4, var maxSignWidth: Int = 65535, var validSignFrameClr: Int = 0xFF9DE31C.toInt(), var nonValidSignContrast: Double = 0.6)

Constructors

Link copied to clipboard
constructor(maxWidth: Int, maxHeight: Int, maxFontHeight: Int = 11, minFontHeight: Int = 7, validSignBgAlpha: Int = 216, validSignFgAlpha: Int = 255, nonValidSignBgAlpha: Int = 192, nonValidSignFgAlpha: Int = 255, maxNbTextLines: Int = 4, maxSignWidth: Int = 65535, validSignFrameClr: Int = 0xFF9DE31C.toInt(), nonValidSignContrast: Double = 0.6)

Properties

Link copied to clipboard

The maximum font height in pixel (default = 11)

Link copied to clipboard

max height of the generated image in pixel (the resulting image height may be smaller)

Link copied to clipboard

The maximum number of lines to display in a signpost (default = 4)

Link copied to clipboard

The maximum width (in pixels) of a signpost

Link copied to clipboard

max width of the generated image in pixel (the resulting image width may be smaller)

Link copied to clipboard

The minimum font height in pixel (default = 7)

Link copied to clipboard

The alpha blending used for displaying background of non valid signs (signs of other directions) (default = 0xC0)

Link copied to clipboard

The contrast used for displaying non valid signs (in 0, 1)

Link copied to clipboard

The alpha blending used for displaying foreground of non valid signs (signs of other directions) (default = 0xFF)

Link copied to clipboard

The alpha blending used for displaying background of valid signs (signs to follow) (default = 0xD8)

Link copied to clipboard

The alpha blending used for displaying foreground of valid signs (signs to follow) (default = 0xFF)

Link copied to clipboard

The ARGB color of valid signs frame (set to 0 if you don't want valid sign frame to be highlighted) (default = 0xFF9DE31C)