Path

@Serializable
data class Path(val params: ImageVectorNode.Path.Params, val wrapper: ImageVectorNode.NodeWrapper, val minified: Boolean, val transformations: List<AffineTransformation>? = null) : ImageVectorNode, MethodSizeAccountable(source)

Constructors

Link copied to clipboard
constructor(params: ImageVectorNode.Path.Params, wrapper: ImageVectorNode.NodeWrapper, minified: Boolean, transformations: List<AffineTransformation>? = null)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
@Serializable
data class Params(val fill: ComposeBrush? = null, val fillAlpha: Float? = null, val pathFillType: PathFillType? = null, val stroke: ComposeBrush? = null, val strokeAlpha: Float? = null, val strokeLineCap: StrokeCap? = null, val strokeLineJoin: StrokeJoin? = null, val strokeMiterLimit: Float? = null, val strokeLineWidth: Float? = null) : MethodSizeAccountable

Properties

Link copied to clipboard
open override val approximateByteSize: Int

The approximate bytecode size of the path instruction, accounting for its components.

Link copied to clipboard
open override val imports: Set<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Transient
open override val transformations: List<AffineTransformation>?
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun materialize(): String