IconParserConfiguration

Configuration for parsing an icon. This interface provides options to customize the generation process of icon resources.

Properties

Link copied to clipboard
abstract val iconVisibility: Property<IconVisibility>

The visibility modifier of the generated icon class.

Functions

Link copied to clipboard
abstract fun addToMaterialIcons()

Adds the Material Icons object as the receiver type of the generated ImageVector property.

Link copied to clipboard
abstract fun exclude(vararg patterns: Regex)

Excludes icons based on their file names matching the given patterns from the generation process.

Link copied to clipboard
abstract fun makeInternal()

Adds the internal modifier to the generated ImageVector.

Link copied to clipboard
abstract fun mapIconNameTo(mapper: (String) -> String)

Maps the original icon name to a custom name. Useful when the icon's filename contains recurring names.

Link copied to clipboard
abstract fun minify()

Minifies the generated ImageVector property by removing the explanation comments.

Link copied to clipboard
abstract fun noPreview()

Disables the generation of preview images for the icons.

Link copied to clipboard
abstract fun persist()

Persists all generated files inside the project's source set, using the given ProcessorConfiguration.destinationPackage instead of the build generated folder.

Link copied to clipboard
abstract fun receiverType(fullQualifier: String)

Sets the receiver type for the generated ImageVector property.

Link copied to clipboard
abstract fun theme(fullQualifier: String)

Sets the theme to be used for the generated preview images.