OHOS::Style

Overview

Related Modules:

Graphic

Description:

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

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name

Description

Style ()

 

A constructor used to create a Style instance.

~Style ()

virtual 

A destructor used to delete the Style instance.

SetStyle (uint8_t key, int64_t value)

void 

Sets a style.

GetStyle (uint8_t key) const

int64_t 

Obtains the value of a style.

operator new (size_t size)

void  

Overrides the new function.

operator delete (void p)

void 

Overrides the delete function.