Package io.github.humbleui.skija
Class PathSegment
- java.lang.Object
-
- io.github.humbleui.skija.PathSegment
-
public class PathSegment extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description boolean_closedContourboolean_closeLinefloat_conicWeightio.github.humbleui.types.Point_p0io.github.humbleui.types.Point_p1io.github.humbleui.types.Point_p2io.github.humbleui.types.Point_p3PathVerb_verb
-
Constructor Summary
Constructors Constructor Description PathSegment()PathSegment(float x0, float y0, float x1, float y1, boolean isCloseLine, boolean isClosedContour)PathSegment(float x0, float y0, float x1, float y1, float x2, float y2, boolean isClosedContour)PathSegment(float x0, float y0, float x1, float y1, float x2, float y2, float conicWeight, boolean isClosedContour)PathSegment(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3, boolean isClosedContour)PathSegment(int verbOrdinal, float x0, float y0, boolean isClosedContour)PathSegment(PathVerb verb, io.github.humbleui.types.Point p0, io.github.humbleui.types.Point p1, io.github.humbleui.types.Point p2, io.github.humbleui.types.Point p3, float conicWeight, boolean closeLine, boolean closedContour)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)floatgetConicWeight()io.github.humbleui.types.PointgetP0()io.github.humbleui.types.PointgetP1()io.github.humbleui.types.PointgetP2()io.github.humbleui.types.PointgetP3()PathVerbgetVerb()inthashCode()booleanisClosedContour()booleanisCloseLine()java.lang.StringtoString()
-
-
-
Field Detail
-
_verb
public final PathVerb _verb
-
_p0
public final io.github.humbleui.types.Point _p0
-
_p1
public final io.github.humbleui.types.Point _p1
-
_p2
public final io.github.humbleui.types.Point _p2
-
_p3
public final io.github.humbleui.types.Point _p3
-
_conicWeight
public final float _conicWeight
-
_closeLine
public final boolean _closeLine
-
_closedContour
public final boolean _closedContour
-
-
Constructor Detail
-
PathSegment
public PathSegment()
-
PathSegment
public PathSegment(int verbOrdinal, float x0, float y0, boolean isClosedContour)
-
PathSegment
public PathSegment(float x0, float y0, float x1, float y1, boolean isCloseLine, boolean isClosedContour)
-
PathSegment
public PathSegment(float x0, float y0, float x1, float y1, float x2, float y2, boolean isClosedContour)
-
PathSegment
public PathSegment(float x0, float y0, float x1, float y1, float x2, float y2, float conicWeight, boolean isClosedContour)
-
PathSegment
public PathSegment(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3, boolean isClosedContour)
-
PathSegment
public PathSegment(PathVerb verb, io.github.humbleui.types.Point p0, io.github.humbleui.types.Point p1, io.github.humbleui.types.Point p2, io.github.humbleui.types.Point p3, float conicWeight, boolean closeLine, boolean closedContour)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getVerb
public PathVerb getVerb()
-
getP0
public io.github.humbleui.types.Point getP0()
-
getP1
public io.github.humbleui.types.Point getP1()
-
getP2
public io.github.humbleui.types.Point getP2()
-
getP3
public io.github.humbleui.types.Point getP3()
-
getConicWeight
public float getConicWeight()
-
isCloseLine
public boolean isCloseLine()
-
isClosedContour
public boolean isClosedContour()
-
-