Atlas Engine
API Referencegraphite

UIResolvedStyle

Concrete visual properties produced by style resolution.

Module: graphite

Concrete visual properties produced by style resolution.

Declaration

export type UIResolvedStyle = {
        padding: Size2d;
        cornerRadius: number;
        borderWidth: number;
        backgroundColor: Color;
        borderColor: Color;
        foregroundColor: Color;
        tintColor: Color;
        font: Font;
        fontSize: number;
    };

Properties

padding

padding: Size2d;

cornerRadius

cornerRadius: number;

borderWidth

borderWidth: number;

backgroundColor

backgroundColor: Color;

borderColor

borderColor: Color;

foregroundColor

foregroundColor: Color;

tintColor

tintColor: Color;

font

font: Font;

fontSize

fontSize: number;

On this page