OHOS::Line
Overview
Related Modules:
Description:
Defines a line, which consists of the start and end points.
Since:
1.0
Version:
1.0
Summary
Public Member Functions
Line () |
The default constructor used to create a Line instance. |
Line (const Vector2< int16_t > &a, const Vector2< int16_t > &b) |
A constructor used to create a Line instance. |
A constructor used to create a Line instance. |
|
~Line () |
A destructor used to delete the Line instance. |
operator[] (uint8_t index) |
Vector2< int16_t > & Obtains the start or end point of the line based on the value of index. |
operator[] (uint8_t index) const |
const Vector2< int16_t > Obtains the start or end point of the line based on the value of index. |
operator new (size_t size) |
|
operator delete (void p) |