Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_common_modifier.cpp2800 ArkUIAnchorType anchorType = { 0.0f, 0.0f }; in GetMarkAnchor() local
2802 CHECK_NULL_RETURN(frameNode, anchorType); in GetMarkAnchor()
2804 CHECK_NULL_RETURN(renderContext, anchorType); in GetMarkAnchor()
2805 CHECK_NULL_RETURN(renderContext->GetPositionProperty(), anchorType); in GetMarkAnchor()
2807 return anchorType; in GetMarkAnchor()
2809 anchorType.xCoordinate = renderContext->GetPositionProperty()->GetAnchor()->GetX().Value(); in GetMarkAnchor()
2810 anchorType.yCoordinate = renderContext->GetPositionProperty()->GetAnchor()->GetY().Value(); in GetMarkAnchor()
2811 return anchorType; in GetMarkAnchor()