build

fun build(instructionIndex: Int, onlyValidSigns: Boolean = true): Bitmap?

Build an instruction of the route

Return

a Bitmap if the builder is initialized and a valid instruction was found at the instructionIndex, null otherwise.

Parameters

instructionIndex

Index of the instruction to build, it should match an instruction index of RouteSheet of the route.

onlyValidSigns

Defines if only valid signs should be drawn (valid signs are signs to follow according to route sheet instruction).