| // Signature format: 4.0 |
| package androidx.graphics.shapes { |
| |
| public final class CornerRounding { |
| ctor public CornerRounding(); |
| ctor public CornerRounding(optional @FloatRange(from=0.0) float radius, optional @FloatRange(from=0.0, to=1.0) float smoothing); |
| method public float getRadius(); |
| method public float getSmoothing(); |
| property @FloatRange(from=0.0) public final float radius; |
| property @FloatRange(from=0.0, to=1.0) public final float smoothing; |
| field public static final androidx.graphics.shapes.CornerRounding.Companion Companion; |
| field public static final androidx.graphics.shapes.CornerRounding Unrounded; |
| } |
| |
| public static final class CornerRounding.Companion { |
| property public final androidx.graphics.shapes.CornerRounding Unrounded; |
| } |
| |
| public class Cubic { |
| method public static final androidx.graphics.shapes.Cubic circularArc(float centerX, float centerY, float x0, float y0, float x1, float y1); |
| method public final operator androidx.graphics.shapes.Cubic div(float x); |
| method public final operator androidx.graphics.shapes.Cubic div(int x); |
| method public final float getAnchor0X(); |
| method public final float getAnchor0Y(); |
| method public final float getAnchor1X(); |
| method public final float getAnchor1Y(); |
| method public final float getControl0X(); |
| method public final float getControl0Y(); |
| method public final float getControl1X(); |
| method public final float getControl1Y(); |
| method public final operator androidx.graphics.shapes.Cubic plus(androidx.graphics.shapes.Cubic o); |
| method public final androidx.graphics.shapes.Cubic reverse(); |
| method public final kotlin.Pair<androidx.graphics.shapes.Cubic,androidx.graphics.shapes.Cubic> split(float t); |
| method public static final androidx.graphics.shapes.Cubic straightLine(float x0, float y0, float x1, float y1); |
| method public final operator androidx.graphics.shapes.Cubic times(float x); |
| method public final operator androidx.graphics.shapes.Cubic times(int x); |
| method public final androidx.graphics.shapes.Cubic transformed(androidx.graphics.shapes.PointTransformer f); |
| property public final float anchor0X; |
| property public final float anchor0Y; |
| property public final float anchor1X; |
| property public final float anchor1Y; |
| property public final float control0X; |
| property public final float control0Y; |
| property public final float control1X; |
| property public final float control1Y; |
| field public static final androidx.graphics.shapes.Cubic.Companion Companion; |
| } |
| |
| public static final class Cubic.Companion { |
| method public androidx.graphics.shapes.Cubic circularArc(float centerX, float centerY, float x0, float y0, float x1, float y1); |
| method public androidx.graphics.shapes.Cubic straightLine(float x0, float y0, float x1, float y1); |
| } |
| |
| public final class CubicKt { |
| method public static androidx.graphics.shapes.Cubic Cubic(float anchor0X, float anchor0Y, float control0X, float control0Y, float control1X, float control1Y, float anchor1X, float anchor1Y); |
| } |
| |
| public abstract class Feature { |
| ctor public Feature(java.util.List<? extends androidx.graphics.shapes.Cubic> cubics); |
| method public final java.util.List<androidx.graphics.shapes.Cubic> getCubics(); |
| method public abstract boolean isConcaveCorner(); |
| method public abstract boolean isConvexCorner(); |
| method public abstract boolean isEdge(); |
| method public abstract boolean isIgnorableFeature(); |
| method public abstract androidx.graphics.shapes.Feature reversed(); |
| method public abstract androidx.graphics.shapes.Feature transformed(androidx.graphics.shapes.PointTransformer f); |
| property public final java.util.List<androidx.graphics.shapes.Cubic> cubics; |
| property public abstract boolean isConcaveCorner; |
| property public abstract boolean isConvexCorner; |
| property public abstract boolean isEdge; |
| property public abstract boolean isIgnorableFeature; |
| field public static final androidx.graphics.shapes.Feature.Factory Factory; |
| } |
| |
| public static final class Feature.Factory { |
| method public androidx.graphics.shapes.Feature buildConcaveCorner(java.util.List<? extends androidx.graphics.shapes.Cubic> cubics); |
| method public androidx.graphics.shapes.Feature buildConvexCorner(java.util.List<? extends androidx.graphics.shapes.Cubic> cubics); |
| method public androidx.graphics.shapes.Feature buildEdge(androidx.graphics.shapes.Cubic cubic); |
| method public androidx.graphics.shapes.Feature buildIgnorableFeature(java.util.List<? extends androidx.graphics.shapes.Cubic> cubics); |
| } |
| |
| public final class FeatureSerializer { |
| method public static java.util.List<androidx.graphics.shapes.Feature> parse(String serializedFeatures); |
| method public static String serialize(java.util.List<? extends androidx.graphics.shapes.Feature> features); |
| field public static final androidx.graphics.shapes.FeatureSerializer.Companion Companion; |
| } |
| |
| public static final class FeatureSerializer.Companion { |
| method public java.util.List<androidx.graphics.shapes.Feature> parse(String serializedFeatures); |
| method public String serialize(java.util.List<? extends androidx.graphics.shapes.Feature> features); |
| } |
| |
| public final class Morph { |
| ctor public Morph(androidx.graphics.shapes.RoundedPolygon start, androidx.graphics.shapes.RoundedPolygon end); |
| method public java.util.List<androidx.graphics.shapes.Cubic> asCubics(float progress); |
| method public float[] calculateBounds(); |
| method public float[] calculateBounds(optional float[] bounds); |
| method public float[] calculateBounds(optional float[] bounds, optional boolean approximate); |
| method public float[] calculateMaxBounds(optional float[] bounds); |
| method public inline void forEachCubic(float progress, optional androidx.graphics.shapes.MutableCubic mutableCubic, kotlin.jvm.functions.Function1<? super androidx.graphics.shapes.MutableCubic,kotlin.Unit> callback); |
| method public inline void forEachCubic(float progress, kotlin.jvm.functions.Function1<? super androidx.graphics.shapes.MutableCubic,kotlin.Unit> callback); |
| } |
| |
| public final class MutableCubic extends androidx.graphics.shapes.Cubic { |
| ctor public MutableCubic(); |
| method public void interpolate(androidx.graphics.shapes.Cubic c1, androidx.graphics.shapes.Cubic c2, float progress); |
| method public void transform(androidx.graphics.shapes.PointTransformer f); |
| } |
| |
| public interface MutablePoint { |
| method public float getX(); |
| method public float getY(); |
| method public void setX(float); |
| method public void setY(float); |
| property public abstract float x; |
| property public abstract float y; |
| } |
| |
| public fun interface PointTransformer { |
| method public long transform(float x, float y); |
| } |
| |
| public final class RoundedPolygon { |
| method public float[] calculateBounds(); |
| method public float[] calculateBounds(optional float[] bounds); |
| method public float[] calculateBounds(optional float[] bounds, optional boolean approximate); |
| method public float[] calculateMaxBounds(optional float[] bounds); |
| method public float getCenterX(); |
| method public float getCenterY(); |
| method public java.util.List<androidx.graphics.shapes.Cubic> getCubics(); |
| method public java.util.List<androidx.graphics.shapes.Feature> getFeatures(); |
| method public androidx.graphics.shapes.RoundedPolygon normalized(); |
| method public androidx.graphics.shapes.RoundedPolygon transformed(androidx.graphics.shapes.PointTransformer f); |
| property public final float centerX; |
| property public final float centerY; |
| property public final java.util.List<androidx.graphics.shapes.Cubic> cubics; |
| property public final java.util.List<androidx.graphics.shapes.Feature> features; |
| field public static final androidx.graphics.shapes.RoundedPolygon.Companion Companion; |
| } |
| |
| public static final class RoundedPolygon.Companion { |
| } |
| |
| public final class RoundedPolygonKt { |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(androidx.graphics.shapes.RoundedPolygon source); |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(float[] vertices); |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(float[] vertices, optional androidx.graphics.shapes.CornerRounding rounding); |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(float[] vertices, optional androidx.graphics.shapes.CornerRounding rounding, optional java.util.List<androidx.graphics.shapes.CornerRounding>? perVertexRounding); |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(float[] vertices, optional androidx.graphics.shapes.CornerRounding rounding, optional java.util.List<androidx.graphics.shapes.CornerRounding>? perVertexRounding, optional float centerX); |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(float[] vertices, optional androidx.graphics.shapes.CornerRounding rounding, optional java.util.List<androidx.graphics.shapes.CornerRounding>? perVertexRounding, optional float centerX, optional float centerY); |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(@IntRange(from=3L) int numVertices); |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(@IntRange(from=3L) int numVertices, optional float radius); |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(@IntRange(from=3L) int numVertices, optional float radius, optional float centerX); |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(@IntRange(from=3L) int numVertices, optional float radius, optional float centerX, optional float centerY); |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(@IntRange(from=3L) int numVertices, optional float radius, optional float centerX, optional float centerY, optional androidx.graphics.shapes.CornerRounding rounding); |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(@IntRange(from=3L) int numVertices, optional float radius, optional float centerX, optional float centerY, optional androidx.graphics.shapes.CornerRounding rounding, optional java.util.List<androidx.graphics.shapes.CornerRounding>? perVertexRounding); |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(java.util.List<? extends androidx.graphics.shapes.Feature> features); |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(java.util.List<? extends androidx.graphics.shapes.Feature> features, optional float centerX); |
| method public static androidx.graphics.shapes.RoundedPolygon RoundedPolygon(java.util.List<? extends androidx.graphics.shapes.Feature> features, optional float centerX, optional float centerY); |
| } |
| |
| public final class ShapesKt { |
| method public static androidx.graphics.shapes.RoundedPolygon circle(androidx.graphics.shapes.RoundedPolygon.Companion); |
| method public static androidx.graphics.shapes.RoundedPolygon circle(androidx.graphics.shapes.RoundedPolygon.Companion, optional @IntRange(from=3L) int numVertices); |
| method public static androidx.graphics.shapes.RoundedPolygon circle(androidx.graphics.shapes.RoundedPolygon.Companion, optional @IntRange(from=3L) int numVertices, optional float radius); |
| method public static androidx.graphics.shapes.RoundedPolygon circle(androidx.graphics.shapes.RoundedPolygon.Companion, optional @IntRange(from=3L) int numVertices, optional float radius, optional float centerX); |
| method public static androidx.graphics.shapes.RoundedPolygon circle(androidx.graphics.shapes.RoundedPolygon.Companion, optional @IntRange(from=3L) int numVertices, optional float radius, optional float centerX, optional float centerY); |
| method public static androidx.graphics.shapes.RoundedPolygon pill(androidx.graphics.shapes.RoundedPolygon.Companion); |
| method public static androidx.graphics.shapes.RoundedPolygon pill(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width); |
| method public static androidx.graphics.shapes.RoundedPolygon pill(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height); |
| method public static androidx.graphics.shapes.RoundedPolygon pill(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height, optional float smoothing); |
| method public static androidx.graphics.shapes.RoundedPolygon pill(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height, optional float smoothing, optional float centerX); |
| method public static androidx.graphics.shapes.RoundedPolygon pill(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height, optional float smoothing, optional float centerX, optional float centerY); |
| method public static androidx.graphics.shapes.RoundedPolygon pillStar(androidx.graphics.shapes.RoundedPolygon.Companion); |
| method public static androidx.graphics.shapes.RoundedPolygon pillStar(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width); |
| method public static androidx.graphics.shapes.RoundedPolygon pillStar(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height); |
| method public static androidx.graphics.shapes.RoundedPolygon pillStar(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height, optional int numVerticesPerRadius); |
| method public static androidx.graphics.shapes.RoundedPolygon pillStar(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height, optional int numVerticesPerRadius, optional @FloatRange(from=0.0, fromInclusive=false, to=1.0, toInclusive=false) float innerRadiusRatio); |
| method public static androidx.graphics.shapes.RoundedPolygon pillStar(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height, optional int numVerticesPerRadius, optional @FloatRange(from=0.0, fromInclusive=false, to=1.0, toInclusive=false) float innerRadiusRatio, optional androidx.graphics.shapes.CornerRounding rounding); |
| method public static androidx.graphics.shapes.RoundedPolygon pillStar(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height, optional int numVerticesPerRadius, optional @FloatRange(from=0.0, fromInclusive=false, to=1.0, toInclusive=false) float innerRadiusRatio, optional androidx.graphics.shapes.CornerRounding rounding, optional androidx.graphics.shapes.CornerRounding? innerRounding); |
| method public static androidx.graphics.shapes.RoundedPolygon pillStar(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height, optional int numVerticesPerRadius, optional @FloatRange(from=0.0, fromInclusive=false, to=1.0, toInclusive=false) float innerRadiusRatio, optional androidx.graphics.shapes.CornerRounding rounding, optional androidx.graphics.shapes.CornerRounding? innerRounding, optional java.util.List<androidx.graphics.shapes.CornerRounding>? perVertexRounding); |
| method public static androidx.graphics.shapes.RoundedPolygon pillStar(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height, optional int numVerticesPerRadius, optional @FloatRange(from=0.0, fromInclusive=false, to=1.0, toInclusive=false) float innerRadiusRatio, optional androidx.graphics.shapes.CornerRounding rounding, optional androidx.graphics.shapes.CornerRounding? innerRounding, optional java.util.List<androidx.graphics.shapes.CornerRounding>? perVertexRounding, optional @FloatRange(from=0.0, to=1.0) float vertexSpacing); |
| method public static androidx.graphics.shapes.RoundedPolygon pillStar(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height, optional int numVerticesPerRadius, optional @FloatRange(from=0.0, fromInclusive=false, to=1.0, toInclusive=false) float innerRadiusRatio, optional androidx.graphics.shapes.CornerRounding rounding, optional androidx.graphics.shapes.CornerRounding? innerRounding, optional java.util.List<androidx.graphics.shapes.CornerRounding>? perVertexRounding, optional @FloatRange(from=0.0, to=1.0) float vertexSpacing, optional @FloatRange(from=0.0, to=1.0) float startLocation); |
| method public static androidx.graphics.shapes.RoundedPolygon pillStar(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height, optional int numVerticesPerRadius, optional @FloatRange(from=0.0, fromInclusive=false, to=1.0, toInclusive=false) float innerRadiusRatio, optional androidx.graphics.shapes.CornerRounding rounding, optional androidx.graphics.shapes.CornerRounding? innerRounding, optional java.util.List<androidx.graphics.shapes.CornerRounding>? perVertexRounding, optional @FloatRange(from=0.0, to=1.0) float vertexSpacing, optional @FloatRange(from=0.0, to=1.0) float startLocation, optional float centerX); |
| method public static androidx.graphics.shapes.RoundedPolygon pillStar(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height, optional int numVerticesPerRadius, optional @FloatRange(from=0.0, fromInclusive=false, to=1.0, toInclusive=false) float innerRadiusRatio, optional androidx.graphics.shapes.CornerRounding rounding, optional androidx.graphics.shapes.CornerRounding? innerRounding, optional java.util.List<androidx.graphics.shapes.CornerRounding>? perVertexRounding, optional @FloatRange(from=0.0, to=1.0) float vertexSpacing, optional @FloatRange(from=0.0, to=1.0) float startLocation, optional float centerX, optional float centerY); |
| method public static androidx.graphics.shapes.RoundedPolygon rectangle(androidx.graphics.shapes.RoundedPolygon.Companion, optional float width, optional float height, optional androidx.graphics.shapes.CornerRounding rounding, optional java.util.List<androidx.graphics.shapes.CornerRounding>? perVertexRounding, optional float centerX, optional float centerY); |
| method public static androidx.graphics.shapes.RoundedPolygon star(androidx.graphics.shapes.RoundedPolygon.Companion, int numVerticesPerRadius); |
| method public static androidx.graphics.shapes.RoundedPolygon star(androidx.graphics.shapes.RoundedPolygon.Companion, int numVerticesPerRadius, optional float radius); |
| method public static androidx.graphics.shapes.RoundedPolygon star(androidx.graphics.shapes.RoundedPolygon.Companion, int numVerticesPerRadius, optional float radius, optional float innerRadius); |
| method public static androidx.graphics.shapes.RoundedPolygon star(androidx.graphics.shapes.RoundedPolygon.Companion, int numVerticesPerRadius, optional float radius, optional float innerRadius, optional androidx.graphics.shapes.CornerRounding rounding); |
| method public static androidx.graphics.shapes.RoundedPolygon star(androidx.graphics.shapes.RoundedPolygon.Companion, int numVerticesPerRadius, optional float radius, optional float innerRadius, optional androidx.graphics.shapes.CornerRounding rounding, optional androidx.graphics.shapes.CornerRounding? innerRounding); |
| method public static androidx.graphics.shapes.RoundedPolygon star(androidx.graphics.shapes.RoundedPolygon.Companion, int numVerticesPerRadius, optional float radius, optional float innerRadius, optional androidx.graphics.shapes.CornerRounding rounding, optional androidx.graphics.shapes.CornerRounding? innerRounding, optional java.util.List<androidx.graphics.shapes.CornerRounding>? perVertexRounding); |
| method public static androidx.graphics.shapes.RoundedPolygon star(androidx.graphics.shapes.RoundedPolygon.Companion, int numVerticesPerRadius, optional float radius, optional float innerRadius, optional androidx.graphics.shapes.CornerRounding rounding, optional androidx.graphics.shapes.CornerRounding? innerRounding, optional java.util.List<androidx.graphics.shapes.CornerRounding>? perVertexRounding, optional float centerX); |
| method public static androidx.graphics.shapes.RoundedPolygon star(androidx.graphics.shapes.RoundedPolygon.Companion, int numVerticesPerRadius, optional float radius, optional float innerRadius, optional androidx.graphics.shapes.CornerRounding rounding, optional androidx.graphics.shapes.CornerRounding? innerRounding, optional java.util.List<androidx.graphics.shapes.CornerRounding>? perVertexRounding, optional float centerX, optional float centerY); |
| } |
| |
| public final class Shapes_androidKt { |
| method public static android.graphics.Path toPath(androidx.graphics.shapes.Morph, float progress, optional android.graphics.Path path); |
| method public static android.graphics.Path toPath(androidx.graphics.shapes.RoundedPolygon); |
| method public static android.graphics.Path toPath(androidx.graphics.shapes.RoundedPolygon, optional android.graphics.Path path); |
| method public static androidx.graphics.shapes.RoundedPolygon transformed(androidx.graphics.shapes.RoundedPolygon, android.graphics.Matrix matrix); |
| } |
| |
| public final class SvgPathParser { |
| method public static java.util.List<androidx.graphics.shapes.Feature> parseFeatures(String svgPath); |
| field public static final androidx.graphics.shapes.SvgPathParser.Companion Companion; |
| } |
| |
| public static final class SvgPathParser.Companion { |
| method public java.util.List<androidx.graphics.shapes.Feature> parseFeatures(String svgPath); |
| } |
| |
| } |
| |