1// Signature format: 4.0 2package androidx.graphics.path { 3 4 public final class PathIterator implements java.util.Iterator<androidx.graphics.path.PathSegment> kotlin.jvm.internal.markers.KMappedMarker { 5 ctor public PathIterator(android.graphics.Path path, optional androidx.graphics.path.PathIterator.ConicEvaluation conicEvaluation, optional float tolerance); 6 method public int calculateSize(optional boolean includeConvertedConics); 7 method public androidx.graphics.path.PathIterator.ConicEvaluation getConicEvaluation(); 8 method public android.graphics.Path getPath(); 9 method public float getTolerance(); 10 method public boolean hasNext(); 11 method public androidx.graphics.path.PathSegment next(); 12 method public androidx.graphics.path.PathSegment.Type next(float[] points); 13 method public androidx.graphics.path.PathSegment.Type next(float[] points, optional int offset); 14 method public androidx.graphics.path.PathSegment.Type peek(); 15 property public final androidx.graphics.path.PathIterator.ConicEvaluation conicEvaluation; 16 property public final android.graphics.Path path; 17 property public final float tolerance; 18 } 19 20 public enum PathIterator.ConicEvaluation { 21 enum_constant public static final androidx.graphics.path.PathIterator.ConicEvaluation AsConic; 22 enum_constant public static final androidx.graphics.path.PathIterator.ConicEvaluation AsQuadratics; 23 } 24 25 public final class PathSegment { 26 method public android.graphics.PointF![] getPoints(); 27 method public androidx.graphics.path.PathSegment.Type getType(); 28 method public float getWeight(); 29 property public final android.graphics.PointF![] points; 30 property public final androidx.graphics.path.PathSegment.Type type; 31 property public final float weight; 32 } 33 34 public enum PathSegment.Type { 35 enum_constant public static final androidx.graphics.path.PathSegment.Type Close; 36 enum_constant public static final androidx.graphics.path.PathSegment.Type Conic; 37 enum_constant public static final androidx.graphics.path.PathSegment.Type Cubic; 38 enum_constant public static final androidx.graphics.path.PathSegment.Type Done; 39 enum_constant public static final androidx.graphics.path.PathSegment.Type Line; 40 enum_constant public static final androidx.graphics.path.PathSegment.Type Move; 41 enum_constant public static final androidx.graphics.path.PathSegment.Type Quadratic; 42 } 43 44 public final class PathSegmentUtilities { 45 method public static androidx.graphics.path.PathSegment getCloseSegment(); 46 method public static androidx.graphics.path.PathSegment getDoneSegment(); 47 property public static final androidx.graphics.path.PathSegment CloseSegment; 48 property public static final androidx.graphics.path.PathSegment DoneSegment; 49 } 50 51 public final class PathUtilities { 52 method public static operator androidx.graphics.path.PathIterator iterator(android.graphics.Path); 53 method public static androidx.graphics.path.PathIterator iterator(android.graphics.Path, androidx.graphics.path.PathIterator.ConicEvaluation conicEvaluation, optional float tolerance); 54 } 55 56} 57 58