Home
last modified time | relevance | path

Searched refs:lineComponent (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Drender_svg_line.cpp32 … const RefPtr<SvgLineComponent> lineComponent = AceType::DynamicCast<SvgLineComponent>(component); in Update() local
33 if (!lineComponent) { in Update()
37 x1_ = lineComponent->GetX1(); in Update()
38 x2_ = lineComponent->GetX2(); in Update()
39 y1_ = lineComponent->GetY1(); in Update()
40 y2_ = lineComponent->GetY2(); in Update()
41 RenderSvgBase::SetPresentationAttrs(component, lineComponent->GetDeclaration()); in Update()
54 … const RefPtr<SvgLineComponent> lineComponent = AceType::DynamicCast<SvgLineComponent>(component); in PrepareAnimations() local
55 if (!lineComponent) { in PrepareAnimations()
59 const auto& componentChildren = lineComponent->GetChildren(); in PrepareAnimations()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dline_model_impl.cpp25 …RefPtr<ShapeComponent> lineComponent = AceType::MakeRefPtr<OHOS::Ace::ShapeComponent>(ShapeType::L… in Create() local
26 ViewStackProcessor::GetInstance()->ClaimElementId(lineComponent); in Create()
27 lineComponent->SetStroke(Color::BLACK); in Create()
28 ViewStackProcessor::GetInstance()->Push(lineComponent); in Create()