Home
last modified time | relevance | path

Searched refs:foregroundColor (Results 1 – 25 of 74) sorted by relevance

123

/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-foreground-color.md9 ## foregroundColor section
11 foregroundColor(value: ResourceColor | ColoringStrategy)
29 该示例主要演示通过foregroundColor设置前置景色。
41 Circle({ width: 150, height: 200 }).foregroundColor(Color.Red)
65 .foregroundColor(ColoringStrategy.INVERT)
83 Button('设置前景色为橘色').fontSize(20).foregroundColor(Color.Orange).backgroundColor(Color.Gray)
86 }.foregroundColor(Color.Red)
H A Dts-drawing-components-circle.md52 设置填充区域的颜色,异常值按照默认值处理。与通用属性foregroundColor同时设置时,后设置的属性生效。
H A Dts-drawing-components-ellipse.md53 设置填充区域的颜色,异常值按照默认值处理。与通用属性foregroundColor同时设置时,后设置的属性生效。
H A Dts-drawing-components-polyline.md69 设置填充区域的颜色,异常值按照默认值处理。与通用属性foregroundColor同时设置时,后设置的属性生效。
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-foreground-color.md9 ## foregroundColor section
11 foregroundColor(value: ResourceColor | ColoringStrategy)
29 This example demonstrates how to set the foreground color using **foregroundColor**.
41 Circle({ width: 150, height: 200 }).foregroundColor(Color.Red)
65 .foregroundColor(ColoringStrategy.INVERT)
83 …Button('Foreground Color: Set to Orange').fontSize(20).foregroundColor(Color.Orange).backgroundCol…
86 }.foregroundColor(Color.Red)
/ohos5.0/base/msdp/device_status/interfaces/innerkits/interaction/include/
H A Ddrag_data.h143 uint32_t foregroundColor { 0 };
149 return foregroundColor == style.foregroundColor &&
168 uint32_t foregroundColor { 0 };
175 …return types == other.types && foregroundColor == other.foregroundColor && opacity == other.opacit…
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/
H A Ddrag_preview.h61 Color foregroundColor; in SetForegroundColor() local
62 if (!ParseColor(env, argv[0], foregroundColor)) { in SetForegroundColor()
75 dragPreview->SetColor(foregroundColor); in SetForegroundColor()
76 LOGI("foregroundColor is %{public}x", dragPreview->previewStyle_.foregroundColor); in SetForegroundColor()
173 previewStyle_.foregroundColor = color.GetValue(); in SetColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/interaction/
H A Dinteraction_data.h94 uint32_t foregroundColor = 0; member
101 …return types == other.types && foregroundColor == other.foregroundColor && opacity == other.opacit…
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_label.cpp57 ColorType foregroundColor = labelLine.style.textColor_; in DrawTextOneLine() local
63 labelLine.spannableString->GetForegroundColor(letterIndex, foregroundColor); in DrawTextOneLine()
72 foregroundColor, in DrawTextOneLine()
522 void DrawLabel::GetForegroundColor(uint16_t letterIndex, List<ForegroundColor>* foregroundColor, Co… in GetForegroundColor() argument
524 if (foregroundColor->Size() > 0) { in GetForegroundColor()
525 ListNode<ForegroundColor>* fColor = foregroundColor->Begin(); in GetForegroundColor()
526 for (; fColor != foregroundColor->End(); fColor = fColor->next_) { in GetForegroundColor()
H A Ddraw_label.h61 …static void GetForegroundColor(uint16_t letterIndex, List<ForegroundColor>* foregroundColor, Color…
/ohos5.0/base/msdp/device_status/utils/common/src/
H A Dpreview_style_packer.cpp36 WRITEUINT32(data, previewStyle.foregroundColor, ERR_INVALID_VALUE); in Marshalling()
50 READUINT32(data, previewStyle.foregroundColor, ERR_INVALID_VALUE); in UnMarshalling()
/ohos5.0/foundation/arkui/ui_lite/
H A Dchangelog.md50 …| void SetSliderColor(const ColorType backgroundColor, const ColorType foregroundColor, const Colo…
59 | void SetSliderColor(const ColorType backgroundColor, const ColorType foregroundColor) |
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_slider.h216 void SetSliderColor(const ColorType backgroundColor, const ColorType foregroundColor) in SetSliderColor() argument
219 SetForegroundStyle(STYLE_BACKGROUND_COLOR, foregroundColor.full); in SetSliderColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_loading_progress_bridge.cpp90 Color foregroundColor; in SetForegroundColor() local
91 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, foregroundColor)) { in SetForegroundColor()
95 nativeNode, foregroundColor.GetValue()); in SetForegroundColor()
H A Darkts_native_common_shape_bridge.cpp443 Color foregroundColor; in SetForegroundColor() local
444 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, foregroundColor)) { in SetForegroundColor()
448 nativeNode, true, foregroundColor.GetValue()); in SetForegroundColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_shape.cpp343 Color foregroundColor; in SetForegroundColor() local
350 if (!ParseJsColor(info[0], foregroundColor)) { in SetForegroundColor()
353 ShapeModel::GetInstance()->SetFill(foregroundColor); in SetForegroundColor()
354 ViewAbstractModel::GetInstance()->SetForegroundColor(foregroundColor); in SetForegroundColor()
H A Djs_shape_abstract.cpp459 Color foregroundColor; in SetForegroundColor() local
466 if (!ParseJsColor(info[0], foregroundColor)) { in SetForegroundColor()
471 ShapeAbstractModel::GetInstance()->SetFill(foregroundColor); in SetForegroundColor()
472 ViewAbstractModel::GetInstance()->SetForegroundColor(foregroundColor); in SetForegroundColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dscroll_bar.h101 void SetForegroundColor(const Color& foregroundColor) in SetForegroundColor() argument
103 foregroundColor_ = foregroundColor; in SetForegroundColor()
/ohos5.0/base/msdp/device_status/test/fuzztest/updatepreviewstyle_fuzzer/
H A Dupdatepreviewstyle_fuzzer.cpp47 previewStyle.foregroundColor = FOREGROUND_COLOR_IN; in UpdatePreviewStyleFuzzTest()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/inner/
H A Dscroll_bar.h93 void SetForegroundColor(const Color& foregroundColor) in SetForegroundColor() argument
95 foregroundColor_ = foregroundColor; in SetForegroundColor()
/ohos5.0/base/msdp/device_status/test/unittest/intention/drag/src/
H A Ddrag_manager_test.cpp829 previewStyleIn.foregroundColor = FOREGROUND_COLOR_IN;
835 previewStyleOut.foregroundColor = FOREGROUND_COLOR_OUT;
872 previewStyleIn.foregroundColor = FOREGROUND_COLOR_IN;
879 previewStyleOut.foregroundColor = FOREGROUND_COLOR_OUT;
1171 previewStyleOut.foregroundColor = FOREGROUND_COLOR_OUT;
1176 previewStyleIn.foregroundColor = FOREGROUND_COLOR_IN;
1192 previewStyleIn.foregroundColor = FOREGROUND_COLOR_IN;
1199 previewStyleOut.foregroundColor = FOREGROUND_COLOR_OUT;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkLoadingProgress.ts39 foregroundColor(value: ResourceColor): this {
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/interaction/
H A Dinteraction_impl.cpp226 msdpPreviewStyle.foregroundColor = previewStyle.foregroundColor; in TranslatePreviewStyle()
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-spring-curve.md81 .foregroundColor('#317AF7')
/ohos5.0/foundation/arkui/advanced_ui_component/source/ComposeTitleBar/
H A DComposeTitleBar.ets221 .foregroundColor(this.getMoreIconFgColor())
318 .foregroundColor(this.getFgColor())

123