Searched refs:basicShape_ (Results 1 – 9 of 9) sorted by relevance
50 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_; variable104 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 …]
34 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 …]
30 return basicShape_; in GetBasicShape()35 basicShape_ = basicShape; in SetBasicShape()45 RefPtr<BasicShape> basicShape_;
324 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()
49 return basicShape_; in GetBasicShape()54 basicShape_ = basicShape; in SetBasicShape()69 RefPtr<BasicShape> basicShape_; variable
39 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()
246 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()
50 auto path = AceType::DynamicCast<Path>(basicShape_); in ObjectCommands()
75 auto path = AceType::DynamicCast<Path>(basicShape_); in ObjectCommands()