offset
fun ShapeContour.offset(distance: Double, joinType: SegmentJoin = SegmentJoin.ROUND): ShapeContour
Content copied to clipboard
Offsets a ShapeContour's Segments by given distance.
Segments are moved outwards if distance is 0 or inwards if distance is < 0.
Parameters
joinType
Specifies how to join together the moved Segments.