/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | geometry2d.h | 135 class Polygon : public HeapBase { 142 Polygon() : vertexNum_(0) {} in Polygon() function 151 explicit Polygon(const Rect& rect) in Polygon() function 178 Polygon(const Vector2<int16_t>* vertexes, const uint8_t vertexNum); 185 ~Polygon() {} in ~Polygon() 231 Polygon& operator=(const Rect& rect) 286 void Clip(Polygon& poly, const Line& line); 296 Polygon SuthHodgClip(const Rect& clipRect, const Polygon& polygon); 307 void Clip(const Line& line, const Polygon& poly, Vector2<int16_t>* pOut, uint8_t* pNum);
|
H A D | transform.h | 86 void SetPolygon(const Polygon& polygon) in SetPolygon() 97 Polygon GetPolygon() const in GetPolygon() 251 …Polygon polygon_ = Polygon(Rect(0, 0, 0, 0)); /* transformed from rect and 'rotate_' 'translate_' … 309 void Rotate(const Rect& origRect, int16_t angle, const Vector2<int16_t>& pivot, Polygon& out);
|
/ohos5.0/foundation/graphic/graphic_utils_lite/test/ |
H A D | geometry2d_unit_test.cpp | 89 Polygon* polygon = new Polygon(vertexes, VECTOR2_SIZE); 114 Polygon* polygon = new Polygon(vertexes, VECTOR2_SIZE); 132 Polygon* polygon = new Polygon(); 155 Polygon* polygon = new Polygon(vertexes, VECTOR2_SIZE); 175 Polygon* polygon = new Polygon(rect); 287 Polygon* polygon = new Polygon(vertexes, VECTOR2_SIZE);
|
H A D | transform_unit_test.cpp | 59 Polygon poly;
|
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | geometry2d.cpp | 61 void Clip(Polygon& poly, const Line& line) in Clip() 64 Polygon newPoly; in Clip() 129 Polygon SuthHodgClip(const Rect& clipRect, const Polygon& polygon) in SuthHodgClip() 131 Polygon newPolygon(polygon); in SuthHodgClip() 141 void Clip(const Line& line, const Polygon& poly, Vector2<int16_t>* pOut, uint8_t *pNum) in Clip() 177 Polygon::Polygon(const Vector2<int16_t>* vertexes, const uint8_t vertexNum) in Polygon() function in OHOS::Polygon 187 Rect Polygon::MakeAABB() const in MakeAABB()
|
H A D | transform.cpp | 175 Polygon polygonTemp = polygon_; in GetOrigPoint() 363 void Rotate(const Rect& origRect, int16_t angle, const Vector2<int16_t>& pivot, Polygon& out) in Rotate()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-drawing-components-polygon.md | 1 # Polygon chapter 17 Polygon(options?: PolygonOptions) 29 | options | [PolygonOptions](ts-drawing-components-polygon.md#polygonoptions14对象说明) | 否 | Polygon绘制… 32 用于描述Polygon绘制区域。 290 Polygon({ width: 100, height: 100 }) 294 Polygon().width(100).height(100) 300 Polygon().width(100).height(100)
|
H A D | ts-universal-attributes-draw-modifier.md | 21 …estination、Navigation、Navigator、NavRouter、NodeContainer、Path、PatternLock、Polygon、Polyline、Progress…
|
H A D | ts-drawing-components-shape.md | 16 …ng-components-ellipse.md)、[Polyline](ts-drawing-components-polyline.md)、[Polygon](ts-drawing-compo…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | shape.h | 409 class Polygon : public BasicShape { 410 DECLARE_ACE_TYPE(Polygon, BasicShape); 413 Polygon() : BasicShape(BasicShapeType::POLYGON) {} in Polygon() function 414 ~Polygon() override = default; 431 bool operator==(const Polygon& other) const
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-drawing-components-polygon.md | 1 # Polygon chapter 3 The **Polygon** component is used to draw a polygon. 17 Polygon(value?: {width?: string | number, height?: string | number}) 275 Polygon({ width: 100, height: 100 }) 279 Polygon().width(100).height(100) 285 Polygon().width(100).height(100)
|
H A D | ts-universal-attributes-draw-modifier.md | 21 …ion, Navigation, Navigator, NavRouter, NodeContainer, Path, PatternLock, Polygon, Polyline, Progre…
|
H A D | ts-basic-svg.md | 21 | \<polygon\> | Polygon| **points**: vertex coordinates.| |
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkPolygon.ts | 68 globalThis.Polygon.attributeModifier = function (modifier: ArkComponent): void {
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | clip_path.h | 92 static RefPtr<Polygon> CreatePolygon(const std::string& value);
|
H A D | clip_path.cpp | 267 RefPtr<Polygon> ClipPath::CreatePolygon(const std::string& data) in CreatePolygon() 274 auto polygon = AceType::MakeRefPtr<Polygon>(); in CreatePolygon()
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-user-defined.md | 19 …ne](../reference/apis-arkui/arkui-ts/ts-drawing-components-polyline.md)、[Polygon](../reference/api…
|
H A D | arkts-geometric-shape-drawing.md | 26 …../reference/apis-arkui/arkui-ts/ts-drawing-components-polyline.md)(折线)、[Polygon](../reference/api…
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/animation/ |
H A D | transition_impl.cpp | 414 Polygon polygon(Rect(0, 0, 0, 0)); in RecoveryViewStatus()
|
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_view_unit_test.cpp | 1000 Polygon polygon = view_->GetTransformMap().GetPolygon(); 1040 Polygon polygon = view_->GetTransformMap().GetPolygon();
|
/ohos5.0/docs/zh-cn/release-notes/ |
H A D | OpenHarmony-v4.0-beta1.md | 32 - 绘制组件Rect/Circle/Ellipse/Line/Polyline/Polygon/Path/Rect/Shape支持偏移、裁剪、遮罩等通用属性,增强绘制组件基础功能。
|
H A D | OpenHarmony-v4.0-release.md | 61 - 绘制组件Rect/Circle/Ellipse/Line/Polyline/Polygon/Path/Rect/Shape支持偏移、裁剪、遮罩等通用属性,增强绘制组件基础功能。
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-geometric-shape-drawing.md | 26 …e](../reference/apis-arkui/arkui-ts/ts-drawing-components-polyline.md), [Polygon](../reference/api…
|
H A D | arkts-user-defined.md | 19 …./reference/apis-arkui/arkui-ts/ts-drawing-components-polyline.md), and [Polygon](../reference/api…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | rosen_render_box.cpp | 1085 const auto& polygon = AceType::DynamicCast<Polygon>(basicShape); 1106 const auto& polygon = AceType::DynamicCast<Polygon>(basicShape);
|