Class Bezier
- java.lang.Object
-
- com.github.weisj.jsvg.geometry.mesh.Bezier
-
- Direct Known Subclasses:
LineBezier
public class Bezier extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Bezier(java.awt.geom.Point2D.Float a, java.awt.geom.Point2D.Float b, java.awt.geom.Point2D.Float c, java.awt.geom.Point2D.Float d)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendTo(@NotNull java.awt.geom.Path2D p)
static @NotNull Bezier
combine(@NotNull Bezier b1, @NotNull Bezier b2, @NotNull Bezier b3)
int
estimateStepCount(float scaleX, float scaleY)
@NotNull Bezier
inverse()
@NotNull Split<Bezier>
split()
static @NotNull Bezier
straightLine(java.awt.geom.Point2D.Float a, java.awt.geom.Point2D.Float b)
java.lang.String
toString()
-
-
-
Method Detail
-
appendTo
public void appendTo(@NotNull @NotNull java.awt.geom.Path2D p)
-
inverse
@NotNull public @NotNull Bezier inverse()
-
straightLine
@NotNull public static @NotNull Bezier straightLine(java.awt.geom.Point2D.Float a, java.awt.geom.Point2D.Float b)
-
combine
@NotNull public static @NotNull Bezier combine(@NotNull @NotNull Bezier b1, @NotNull @NotNull Bezier b2, @NotNull @NotNull Bezier b3)
-
estimateStepCount
public int estimateStepCount(float scaleX, float scaleY)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-