Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcustom_paint_paint_method.cpp367 if (state_.fillState.GetPaintStyle() == OHOS::Ace::PaintStyle::Color) { in GetFillPaint()
370 …if (state_.fillState.GetGradient().IsValid() && state_.fillState.GetPaintStyle() == PaintStyle::Gr… in GetFillPaint()
373 …if (state_.fillState.GetPatternValue().IsValid() && state_.fillState.GetPaintStyle() == PaintStyle… in GetFillPaint()
377 if (state_.fillState.GetPaintStyle() == OHOS::Ace::PaintStyle::Color) { in GetFillPaint()
399 if (state_.strokeState.GetPaintStyle() == PaintStyle::Color) { in GetStrokePaint()
402 …if (state_.strokeState.GetGradient().IsValid() && state_.strokeState.GetPaintStyle() == PaintStyle… in GetStrokePaint()
406 state_.strokeState.GetPaintStyle() == PaintStyle::ImagePattern) { in GetStrokePaint()
422 if (state_.strokeState.GetPaintStyle() == PaintStyle::Color) { in GetStrokePaint()
2125 …if (state_.fillState.GetGradient().IsValid() && state_.fillState.GetPaintStyle() == PaintStyle::Gr… in UpdateFillTxtStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dpaint_state.h305 PaintStyle GetPaintStyle() const in GetPaintStyle() function
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/canvas/
H A Dcanvas_custom_paint_method_test_ng.cpp450 EXPECT_EQ(paintMethod->state_.strokeState.GetPaintStyle(), PaintStyle::Color);
456 ASSERT_NE(paintMethod->state_.strokeState.GetPaintStyle(), PaintStyle::Color);