Home
last modified time | relevance | path

Searched refs:shapeType (Results 1 - 7 of 7) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dshape_composed_element.cpp99 auto shapeType = GetShapeType(); in ToJsonObject() local
107 if ((shapeType == "Polyline") || (shapeType == "Polygon")) { in ToJsonObject()
112 if (shapeType == "Line") { in ToJsonObject()
117 if (shapeType == "Rect") { in ToJsonObject()
H A Dinspector_composed_element.cpp954 int32_t shapeType = static_cast<int32_t>(clipPath->GetBasicShape()->GetBasicShapeType()); in GetClip() local
956 if (shapeType < size) { in GetClip()
957 jsonValue->Put("shape", BASIC_SHAPE_TYPE[shapeType]); in GetClip()
1256 int32_t shapeType = static_cast<int32_t>(shape->GetBasicShapeType()); in GetMask() local
1258 if (shapeType < size) { in GetMask()
1259 jsonValue->Put("shape", BASIC_SHAPE_TYPE[shapeType]); in GetMask()
/foundation/arkui/ace_engine/frameworks/core/components/shape/
H A Dshape_component.h35 explicit ShapeComponent(ShapeType shapeType) : RenderComponent(), shapeType_(shapeType) {} in ShapeComponent() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Drender_property.cpp290 auto shapeType = BasicShapeTypeToString(shape->GetBasicShapeType()); in ToJsonValue() local
291 if (!shapeType.empty()) { in ToJsonValue()
292 jsonClip->Put("shape", shapeType.c_str()); in ToJsonValue()
302 auto shapeType = BasicShapeTypeToString(shape->GetBasicShapeType()); in ToJsonValue() local
303 if (!shapeType.empty()) { in ToJsonValue()
304 jsonMask->Put("shape", shapeType.c_str()); in ToJsonValue()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_slider_modifier.cpp614 auto shapeType = basicShape->GetBasicShapeType(); in GetSliderBlockShape() local
615 //index 0 shapeType in GetSliderBlockShape()
616 (*value)[0] = SHAPE_TYPE_MAP[shapeType]; in GetSliderBlockShape()
621 switch (shapeType) { in GetSliderBlockShape()
H A Dnode_common_modifier.cpp4471 std::string shapeType(type); in SetMaskShape()
4473 if (shapeType == "rect") { in SetMaskShape()
4505 } else if (shapeType == "circle") { in SetMaskShape()
4515 } else if (shapeType == "ellipse") { in SetMaskShape()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp11440 //index 1 shapeType in GetSliderBlockStyle()
11447 ArkUI_ShapeType shapeType = static_cast<ArkUI_ShapeType>(values[0]); in GetSliderBlockStyle() local
11448 if (shapeType == ArkUI_ShapeType::ARKUI_SHAPE_TYPE_RECTANGLE) { in GetSliderBlockStyle()
11454 } else if (shapeType == ArkUI_ShapeType::ARKUI_SHAPE_TYPE_PATH) { in GetSliderBlockStyle()

Completed in 66 milliseconds