API Referencegraphite
UIResolvedStyle
Concrete visual properties produced by style resolution.
Module: graphite
Concrete visual properties produced by style resolution.
Declaration
export type UIResolvedStyle = {
/**
* The padding.
*/
padding: Size2d;
/**
* The corner radius.
*/
cornerRadius: number;
/**
* The border width.
*/
borderWidth: number;
/**
* The background color.
*/
backgroundColor: Color;
/**
* The border color.
*/
borderColor: Color;
/**
* The foreground color.
*/
foregroundColor: Color;
/**
* The tint color.
*/
tintColor: Color;
/**
* The font.
*/
font: Font;
/**
* The font size.
*/
fontSize: number;
};Properties
padding
The padding.
padding: Size2d;cornerRadius
The corner radius.
cornerRadius: number;borderWidth
The border width.
borderWidth: number;backgroundColor
The background color.
backgroundColor: Color;borderColor
The border color.
borderColor: Color;foregroundColor
The foreground color.
foregroundColor: Color;tintColor
The tint color.
tintColor: Color;font
The font.
font: Font;fontSize
The font size.
fontSize: number;