/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-foreground-color.md | 9 ## 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 D | ts-drawing-components-circle.md | 52 设置填充区域的颜色,异常值按照默认值处理。与通用属性foregroundColor同时设置时,后设置的属性生效。
|
H A D | ts-drawing-components-ellipse.md | 53 设置填充区域的颜色,异常值按照默认值处理。与通用属性foregroundColor同时设置时,后设置的属性生效。
|
H A D | ts-drawing-components-polyline.md | 69 设置填充区域的颜色,异常值按照默认值处理。与通用属性foregroundColor同时设置时,后设置的属性生效。
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-foreground-color.md | 9 ## 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 D | drag_data.h | 143 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 D | drag_preview.h | 61 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 D | interaction_data.h | 94 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 D | draw_label.cpp | 57 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 D | draw_label.h | 61 …static void GetForegroundColor(uint16_t letterIndex, List<ForegroundColor>* foregroundColor, Color…
|
/ohos5.0/base/msdp/device_status/utils/common/src/ |
H A D | preview_style_packer.cpp | 36 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 D | changelog.md | 50 …| 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 D | ui_slider.h | 216 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 D | arkts_native_loading_progress_bridge.cpp | 90 Color foregroundColor; in SetForegroundColor() local 91 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, foregroundColor)) { in SetForegroundColor() 95 nativeNode, foregroundColor.GetValue()); in SetForegroundColor()
|
H A D | arkts_native_common_shape_bridge.cpp | 443 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 D | js_shape.cpp | 343 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 D | js_shape_abstract.cpp | 459 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 D | scroll_bar.h | 101 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 D | updatepreviewstyle_fuzzer.cpp | 47 previewStyle.foregroundColor = FOREGROUND_COLOR_IN; in UpdatePreviewStyleFuzzTest()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/inner/ |
H A D | scroll_bar.h | 93 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 D | drag_manager_test.cpp | 829 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 D | ArkLoadingProgress.ts | 39 foregroundColor(value: ResourceColor): this {
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/interaction/ |
H A D | interaction_impl.cpp | 226 msdpPreviewStyle.foregroundColor = previewStyle.foregroundColor; in TranslatePreviewStyle()
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-spring-curve.md | 81 .foregroundColor('#317AF7')
|
/ohos5.0/foundation/arkui/advanced_ui_component/source/ComposeTitleBar/ |
H A D | ComposeTitleBar.ets | 221 .foregroundColor(this.getMoreIconFgColor()) 318 .foregroundColor(this.getFgColor())
|