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
/
org.openrndr.extra.shapes.adjust
/
ContourAdjusterVertex
Contour
Adjuster
Vertex
class
ContourAdjusterVertex
(
val
contourAdjuster
:
ContourAdjuster
,
val
segmentIndex
:
(
)
->
Int
)
(
source
)
Members
Members & Extensions
Constructors
Contour
Adjuster
Vertex
Link copied to clipboard
constructor
(
contourAdjuster
:
ContourAdjuster
,
segmentIndex
:
(
)
->
Int
)
Properties
angle
Between
Tangents
Link copied to clipboard
val
ContourAdjusterVertex
.
angleBetweenTangents
:
Double
contour
Adjuster
Link copied to clipboard
val
contourAdjuster
:
ContourAdjuster
control
In
Link copied to clipboard
val
controlIn
:
Vector2
?
control
Out
Link copied to clipboard
val
controlOut
:
Vector2
?
next
Link copied to clipboard
val
next
:
ContourAdjusterVertex
?
normal
Link copied to clipboard
val
normal
:
Vector2
position
Link copied to clipboard
val
position
:
Vector2
previous
Link copied to clipboard
val
previous
:
ContourAdjusterVertex
?
segment
Index
Link copied to clipboard
val
segmentIndex
:
(
)
->
Int
t
Link copied to clipboard
val
t
:
Double
Functions
average
Tangents
Link copied to clipboard
fun
ContourAdjusterVertex
.
averageTangents
(
)
Average the in and out tangents
move
By
Link copied to clipboard
fun
moveBy
(
translation
:
Vector2
,
updateTangents
:
Boolean
=
true
)
move
Control
In
By
Link copied to clipboard
fun
moveControlInBy
(
translation
:
Vector2
)
move
Control
Out
By
Link copied to clipboard
fun
moveControlOutBy
(
translation
:
Vector2
)
move
To
Link copied to clipboard
fun
moveTo
(
position
:
Vector2
,
updateTangents
:
Boolean
=
true
)
reflect
Tangent
In
To
Out
Link copied to clipboard
fun
ContourAdjusterVertex
.
reflectTangentInToOut
(
tangentScale
:
Double
)
reflect
Tangent
Out
To
In
Link copied to clipboard
fun
ContourAdjusterVertex
.
reflectTangentOutToIn
(
tangentScale
:
Double
)
remove
Link copied to clipboard
fun
remove
(
updateTangents
:
Boolean
=
true
)
rotate
Link copied to clipboard
fun
rotate
(
rotationInDegrees
:
Double
)
fun
rotate
(
rotationInDegrees
:
Double
,
anchor
:
Vector2
)
scale
Link copied to clipboard
fun
scale
(
scaleFactor
:
Double
)
fun
scale
(
scaleFactor
:
Double
,
anchor
:
Vector2
)
select
Link copied to clipboard
fun
select
(
)
switch
Tangents
Link copied to clipboard
fun
ContourAdjusterVertex
.
switchTangents
(
preserveLength
:
Boolean
=
false
)
Switch in and out tangents
wrap
Link copied to clipboard
fun
wrap
(
block
:
ContourVertex
.
(
)
->
ContourVertex
)