FindColorsResult

external interface FindColorsResult

Result of parseColors and validateColors.

Properties

Link copied to clipboard
abstract var colors: Array<dynamic>

Custom colors found in the SVG.

Link copied to clipboard
abstract var hasGlobalStyle: Boolean

true if the SVG has a global style, which makes detecting the default fill unreliable.

Link copied to clipboard
abstract var hasUnsetColor: Boolean

true if the SVG uses the default color.