style.h

Overview

Related Modules:

Graphic

Description:

Defines the attributes and common functions of style.

Since:

1.0

Version:

1.0

Summary

Data Structures

Data Structure Name

Description

OHOS::Style

Defines the basic attributes and functions of a style. You can use this class to set different styles.

OHOS::StyleDefault

Define some default style for UIView.

Enumerations

Enumeration Name

Description

: uint8_t {   OHOS::STYLE_BACKGROUND_COLOR, OHOS::STYLE_BACKGROUND_OPA, OHOS::STYLE_BORDER_RADIUS, OHOS::STYLE_BORDER_COLOR,   OHOS::STYLE_BORDER_OPA, OHOS::STYLE_BORDER_WIDTH, OHOS::STYLE_PADDING_LEFT, OHOS::STYLE_PADDING_RIGHT,   OHOS::STYLE_PADDING_TOP, OHOS::STYLE_PADDING_BOTTOM, OHOS::STYLE_MARGIN_LEFT, OHOS::STYLE_MARGIN_RIGHT,   OHOS::STYLE_MARGIN_TOP, OHOS::STYLE_MARGIN_BOTTOM, OHOS::STYLE_IMAGE_OPA, OHOS::STYLE_TEXT_COLOR,   OHOS::STYLE_TEXT_FONT, OHOS::STYLE_LETTER_SPACE, OHOS::STYLE_LINE_SPACE, OHOS::STYLE_TEXT_OPA,   OHOS::STYLE_LINE_COLOR, OHOS::STYLE_LINE_WIDTH, OHOS::STYLE_LINE_OPA, OHOS::STYLE_LINE_CAP }

Enumerates keys of styles.

OHOS::CapType : uint8_t { OHOS::CAP_NONE, OHOS::CAP_ROUND }

Enumerates cap styles.