# OHOS::UIAnalogClock::Hand - [Overview](#section1493720273165633) - [Summary](#section505005179165633) - [Public Member Functions](#pub-methods) - [Data Fields](#pub-attribs) ## **Overview** **Related Modules:** [Graphic](Graphic.md) **Description:** Defines the basic attributes of the analog clock hands. This is an inner class of **[UIAbstractClock](OHOS-UIAbstractClock.md)**. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Public Member Functions

Function

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.