orx
Toggle table of contents
0.5.0-dev.28+293aff4
common
Target filter
common
Switch theme
Search in API
Skip to content
orx
orx-shapes
/
offset
Package-level
declarations
Functions
Functions
offset
Link copied to clipboard
fun
ShapeContour
.
offset
(
distance
:
Double
,
joinType
:
SegmentJoin
=
SegmentJoin.ROUND
)
:
ShapeContour
Offsets a
ShapeContour
's Segments by given
distance
.
fun
Segment2D
.
offset
(
distance
:
Double
,
stepSize
:
Double
=
0.01
,
yPolarity
:
YPolarity
=
YPolarity.CW_NEGATIVE_Y
)
:
List
<
Segment2D
>
reduced
Link copied to clipboard
fun
Segment2D
.
reduced
(
stepSize
:
Double
=
0.01
)
:
List
<
Segment2D
>
scale
Link copied to clipboard
fun
Segment2D
.
scale
(
scale
:
Double
,
polarity
:
YPolarity
)
:
Segment2D
fun
Segment2D
.
scale
(
polarity
:
YPolarity
,
scale
:
(
Double
)
->
Double
)
:
Segment2D