Home
last modified time | relevance | path

Searched refs:basicShape_ (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dclip_path.h50 explicit ClipPath(const RefPtr<BasicShape>& basicShape) : basicShape_(basicShape) {} in ClipPath()
52 : geometryBoxType_(geometryBoxType), basicShape_(basicShape) in ClipPath()
72 basicShape_ = basicShape; in SetBasicShape()
77 return basicShape_; in GetBasicShape()
82 return (basicShape_ && basicShape_->GetBasicShapeType() != BasicShapeType::NONE) || in NeedClip()
96 RefPtr<BasicShape> basicShape_; variable
104 explicit MaskPath(const RefPtr<BasicShape>& basicShape) : basicShape_(basicShape) {} in MaskPath()
106 : geometryBoxType_(geometryBoxType), basicShape_(basicShape) in MaskPath()
122 basicShape_ = basicShape; in SetBasicShape()
127 return basicShape_; in GetBasicShape()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dshape_abstract.cpp34 if (basicShape_) { in SetWidth()
35 basicShape_->SetWidth(value); in SetWidth()
43 if (basicShape_) { in SetHeight()
44 basicShape_->SetHeight(value); in SetHeight()
58 if (basicShape_) { in SetOffset()
59 basicShape_->SetOffset(DimensionOffset(x, y)); in SetOffset()
67 if (basicShape_) { in SetFill()
68 basicShape_->SetColor(color); in SetFill()
124 if (basicShape_) { in SetRadiusWidth()
125 auto rect = AceType::DynamicCast<ShapeRect>(basicShape_); in SetRadiusWidth()
[all …]
H A Dshape_abstract.h30 return basicShape_; in GetBasicShape()
35 basicShape_ = basicShape; in SetBasicShape()
45 RefPtr<BasicShape> basicShape_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_shape_abstract.cpp324 if (basicShape_) { in ObjectWidth()
325 basicShape_->SetWidth(value); in ObjectWidth()
348 if (basicShape_) { in ObjectHeight()
349 basicShape_->SetHeight(value); in ObjectHeight()
377 if (basicShape_ && ParseJsDimensionVp(xVal, x) && ParseJsDimensionVp(yVal, y)) { in ObjectOffset()
378 basicShape_->SetOffset(DimensionOffset(x, y)); in ObjectOffset()
391 if (ParseJsColor(info[0], color) && basicShape_) { in ObjectFill()
392 basicShape_->SetColor(color); in ObjectFill()
443 CHECK_NULL_VOID(basicShape_); in ObjectPosition()
450 basicShape_->SetPosition(position); in ObjectPosition()
H A Djs_shape_abstract.h49 return basicShape_; in GetBasicShape()
54 basicShape_ = basicShape; in SetBasicShape()
69 RefPtr<BasicShape> basicShape_; variable
H A Djs_rect_shape.cpp39 auto rect = AceType::DynamicCast<ShapeRect>(basicShape_); in ObjectRadiusWidth()
60 auto rect = AceType::DynamicCast<ShapeRect>(basicShape_); in ObjectRadiusHeight()
73 auto rect = AceType::DynamicCast<ShapeRect>(basicShape_); in ObjectRadius()
H A Djs_rect.cpp246 auto rect = AceType::DynamicCast<ShapeRect>(basicShape_); in ObjectRadiusWidth()
265 auto rect = AceType::DynamicCast<ShapeRect>(basicShape_); in ObjectRadiusHeight()
277 auto rect = AceType::DynamicCast<ShapeRect>(basicShape_); in ObjectRadius()
H A Djs_path_shape.cpp50 auto path = AceType::DynamicCast<Path>(basicShape_); in ObjectCommands()
H A Djs_path.cpp75 auto path = AceType::DynamicCast<Path>(basicShape_); in ObjectCommands()