IconFileContents
@Serializable
Represents the contents of an icon file, including its package, icon name, theme, dimensions, nodes, and other attributes.
Constructors
Link copied to clipboard
constructor(pkg: String = "", iconName: String = "", theme: String = "", width: Float, height: Float, viewportWidth: Float = width, viewportHeight: Float = height, nodes: List<ImageVectorNode>, receiverType: String? = null, addToMaterial: Boolean = false, noPreview: Boolean = false, makeInternal: Boolean = false, imports: Set<String> = defaultImports)
Properties
Link copied to clipboard
Whether to add the icon to the Icons.Filled object.
Link copied to clipboard
Whether to make the icon internal.
Link copied to clipboard
The list of nodes that make up the icon.
Link copied to clipboard
The type of the receiver object for the icon, if any.
Link copied to clipboard
The height of the viewport in floating-point units.
Link copied to clipboard
The width of the viewport in floating-point units.