1 Star 0 Fork 5.3K

笛荡 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ohos-uianalogclock-hand.md 12.48 KB
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

OHOS::UIAnalogClock::Hand

Overview

Related Modules:

Graphic

Description:

Defines the basic attributes of the analog clock hands. This is an inner class of UIAbstractClock.

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name

Description

Hand ()

A default constructor used to create a Hand instance.

~Hand ()

virtual

A destructor used to delete the Hand instance.

operator new (size_t size)

void *

Overrides the new function.

operator delete (void *p)

void

Overrides the delete function.

Data Fields

Variable Name

Description

center_

Point

Represents the rotation center of a clock hand.

initAngle_

uint16_t

Represents the initial clockwise rotation angle of a clock hand. The default value is 0, indicating that the hand direction is vertically upward.

preAngle_

uint16_t

Represents the latest rotation angle of this clock hand.

nextAngle_

uint16_t

Represents the next rotation angle of this clock hand.

position_

Point

Represents the position of a hand on this analog clock.

imageInfo_

ImageInfo

Represents the image information of this clock hand.

trans_

TransformMap

Represents the information about the rotation and translation of this clock hand.

target_

Rect

Represents the new rectangle area after the rotation and translation.

color_

ColorType

Represents the color of this clock hand.

width_

uint16_t

Represents the width of this clock hand.

height_

uint16_t

Represents the height of this clock hand.

opacity_

OpacityType

Represents the opacity of this clock hand.

drawtype_

DrawType

Represents the drawing type of this clock hand.

1
https://gitee.com/SolarBird/docs.git
git@gitee.com:SolarBird/docs.git
SolarBird
docs
docs
master

搜索帮助