Package-level declarations

Types

Link copied to clipboard
class Circle(val radius: Int = 50, val center: Pair<Int, Int> = 50 to 50) : Shape
Link copied to clipboard
class CircleF(val radius: Float = 50.0f, val center: Pair<Float, Float> = 50f to 50f) : Shape
Link copied to clipboard
class CirclePath(radius: Float = 50.0f, center: Pair<Float, Float> = 50f to 50f) : Path
Link copied to clipboard
class InsetPath(topLeft: Pair<Float, Float>, botRight: Pair<Float, Float>, roundness: CSSLengthOrPercentageNumericValue = 0.px) : Path
Link copied to clipboard
sealed class Path
Link copied to clipboard
class Polygon(val points: Pair<Int, Int>) : Shape
Link copied to clipboard
class PolygonF(val points: Pair<Float, Float>) : Shape
Link copied to clipboard
class PolygonPath(points: Pair<Float, Float>) : Path
Link copied to clipboard
class Rect(val topLeft: Pair<Int, Int>, val botRight: Pair<Int, Int>, val cornerRadius: CSSLengthOrPercentageNumericValue = 0.px) : Shape
Link copied to clipboard
class RectF(val topLeft: Pair<Float, Float>, val botRight: Pair<Float, Float>, val cornerRadius: CSSLengthOrPercentageNumericValue = 0.px) : Shape

Create a rectangle via inset values.

Link copied to clipboard
interface Shape

Functions

Link copied to clipboard