to Byte Buffer
fun toByteBuffer(image: AbstractGeometryImage?, width: Int, height: Int, activeInnerColor: Rgba? = null, activeOuterColor: Rgba? = null, inactiveInnerColor: Rgba? = null, inactiveOuterColor: Rgba? = null): ByteBuffer?
Converts an image to ByteBuffer
fun toByteBuffer(image: SignpostImage?, width: Int, height: Int, borderSizeInPx: Int = 10, roundCorners: Boolean = true, maxRows: Int = 3, smallMode: Boolean = false): Pair<Int, ByteBuffer?>?
Converts a SignpostImage to ByteBuffer Note. result pair.first is the signpost's width
fun toByteBuffer(image: RoadInfoImage?, width: Int, height: Int, backgroundColor: Rgba? = null): Pair<Int, ByteBuffer?>?
Converts a RoadInfoImage to ByteBuffer
fun toByteBuffer(image: LaneImage?, width: Int, height: Int, backgroundColor: Rgba? = null, activeColor: Rgba? = null, inactiveColor: Rgba? = null): Pair<Int, ByteBuffer?>?
Converts a LaneImage to ByteBuffer
Return
Pair