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
|
uint16t
Represents the initial clockwise rotation angle of a clock hand. The default value is 0, indicating that the hand direction is vertically upward.
|
preAngle
|
uint16t
Represents the latest rotation angle of this clock hand.
|
nextAngle
|
uint16t
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
|
uint16t
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.
|