{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

VectorConfig

public interface VectorConfig


Holds a set of values that overwrite the original property values of an ImageVector. This allows you to dynamically change any of the property values provided as VectorProperty. This can be passed to RenderVectorGroup to alter some property values when the VectorGroup is rendered.

Summary

Public methods

default @NonNull T
<T extends Object> getOrDefault(
    @NonNull VectorProperty<@NonNull T> property,
    @NonNull T defaultValue
)

Public methods

getOrDefault

default @NonNull T <T extends Object> getOrDefault(
    @NonNull VectorProperty<@NonNull T> property,
    @NonNull T defaultValue
)