ImageVectorNode

@Serializable
sealed interface ImageVectorNode : MethodSizeAccountable(source)

Inheritors

Types

Link copied to clipboard
@Serializable
data class ChunkFunction(val functionName: String, val nodes: List<ImageVectorNode>) : ImageVectorNode

A Chunk function wrapper to separate the icon instructions in smaller pieces.

Link copied to clipboard
@Serializable
data class Group(val commands: List<ImageVectorNode>, val minified: Boolean, val params: ImageVectorNode.Group.Params = Params(), val transformations: List<AffineTransformation>? = null) : ImageVectorNode, MethodSizeAccountable
Link copied to clipboard
@Serializable
data class NodeWrapper(val normalizedPath: String, val nodes: List<PathNodes>)
Link copied to clipboard
@Serializable
data class Path(val params: ImageVectorNode.Path.Params, val wrapper: ImageVectorNode.NodeWrapper, val minified: Boolean, val transformations: List<AffineTransformation>? = null) : ImageVectorNode, MethodSizeAccountable

Properties

Link copied to clipboard
abstract val approximateByteSize: Int

Represents the approximate bytecode size accounted for by the current type or instruction within a method.

Link copied to clipboard
abstract val imports: Set<String>
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun materialize(): String