BezierPatch
class BezierPatch(points: List<List<Vector2>>, colors: List<List<ColorRGBa>> = emptyList()) : BezierPatchBase<ColorRGBa> , GeometricPrimitive2D(source)
Properties
Link copied to clipboard
Return a transposed version of the bezier path by transposing the points matrix
Functions
Link copied to clipboard
fun BezierPatch.distort(shapeContour: ShapeContour, referenceRectangle: Rectangle = shapeContour.bounds): ShapeContour
Distort a shape contour
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Generate a random point on the path
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <K : AlgebraicColor<K>, ConvertibleToColorRGBa> withColors(colors: List<List<K>>): BezierPatchBase<K>