OHOS::Paint
Graphic
Description:
Defines the basic styles of graphs drawn on canvases.
Since:
1.0
Version:
1.0
Public Member Function Name
|
Description
|
()
|
A constructor used to create a Paint instance.
|
|
virtual
A destructor used to delete the instance.
|
SetStyle ( style)
|
void
Sets the paint style of a closed graph.
|
GetStyle () const
|
Obtains the paint style of a closed graph.
|
SetStrokeWidth (uint16_t width)
|
void
Sets the width of a line or border.
|
() const
|
uint16_t
Obtains the width of a line or border.
|
SetStrokeColor ( color)
|
void
Sets the color of a line or border.
|
GetStrokeColor () const
|
Obtains the color of a line or border.
|
(ColorType color)
|
void
Sets fill color.
|
() const
|
ColorType
Obtains the fill color.
|
(uint8_t opacity)
|
void
Sets the opacity.
|
GetOpacity () const
|
uint8_t
Obtains the opacity.
|
(size_t size)
|
void
Overrides the new function.
|
operator delete (void p)
|
void
|