/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-datapanel.md | 175 ## LinearGradient<sup>10+</sup> 288 public color1: LinearGradient = 290 public color2: LinearGradient = 292 public colorShadow1: LinearGradient = 294 public colorShadow2: LinearGradient = 296 public colorShadow3: LinearGradient = 298 public colorShadow4: LinearGradient = 312 Text('LinearGradient') 347 public color1: LinearGradient = 349 public color2: LinearGradient = [all …]
|
H A D | ts-basic-components-gauge.md | 102 colors(colors: ResourceColor | LinearGradient | Array<[ResourceColor | LinearGradient, number]>) 110 参数类型为LinearGradient,则圆环类型为渐变环。 310 [new LinearGradient([{ color: "#bbb7fc", offset: 0 }, { color: "#564af7", offset: 1 }]), 8], 311 [new LinearGradient([{ color: "#f5b5c2", offset: 0 }, { color: "#e64566", offset: 1 }]), 7], 312 [new LinearGradient([{ color: "#f8c5a6", offset: 0 }, { color: "#ed6f21", offset: 1 }]), 6], 313 [new LinearGradient([{ color: "#fceb99", offset: 0 }, { color: "#f7ce00", offset: 1 }]), 5], 314 [new LinearGradient([{ color: "#dbefa5", offset: 0 }, { color: "#a5d61d", offset: 1 }]), 4], 315 [new LinearGradient([{ color: "#c1e4be", offset: 0 }, { color: "#64bb5c", offset: 1 }]), 3], 316 [new LinearGradient([{ color: "#c0ece5", offset: 0 }, { color: "#61cfbe", offset: 1 }]), 2], 468 [new LinearGradient([{ color: "#bbb7fc", offset: 0 }, { color: "#564af7", offset: 1 }]), 8], [all …]
|
H A D | ts-basic-components-progress.md | 119 color(value: ResourceColor | LinearGradient) 123 从API version 10开始支持利用LinearGradient设置Ring样式的渐变色。 125 **卡片能力:** 从API version 9开始,该接口支持在ArkTS卡片中使用,暂不支持LinearGradient。 135 | value | [ResourceColor](ts-types.md#resourcecolor) \| [LinearGradient<sup>10+</sup>](t… 386 private gradientColor: LinearGradient = new LinearGradient([{ color: Color.Yellow, offset: 0.5 },
|
H A D | ts-basic-components-slider.md | 89 trackColor(value: ResourceColor | LinearGradient) 93 从API version 12开始支持利用LinearGradient设置滑轨的渐变色。 105 …LinearGradient<sup>12+</sup>](ts-basic-components-datapanel.md#lineargradient10) | 是 | 滑轨的背景颜色。<…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-datapanel.md | 84 valueColors(value: Array<ResourceColor | LinearGradient>) 96 …LinearGradient](#lineargradient10)> | Yes | Array of data segment colors. A value of the **Resour… 175 ## LinearGradient<sup>10+</sup> 281 …public color1: LinearGradient = new LinearGradient([{ color: "#65EEC9A3", offset: 0 }, { color: "#… 282 …public color2: LinearGradient = new LinearGradient([{ color: "#FF67F9D4", offset: 0 }, { color: "#… 283 …public colorShadow1: LinearGradient = new LinearGradient([{ color: "#65EEC9A3", offset: 0 }, { col… 284 …public colorShadow2: LinearGradient = new LinearGradient([{ color: "#65e26709", offset: 0 }, { col… 285 …public colorShadow3: LinearGradient = new LinearGradient([{ color: "#6572B513", offset: 0 }, { col… 286 …public colorShadow4: LinearGradient = new LinearGradient([{ color: "#65ed08f5", offset: 0 }, { col… 293 …@State colorArray: Array<LinearGradient | ResourceColor> = [this.color1, this.color2, this.color3,… [all …]
|
H A D | ts-basic-components-gauge.md | 102 colors(colors: ResourceColor | LinearGradient | Array<[ResourceColor | LinearGradient, number]>) 110 If the data type is LinearGradient, the ring is of the gradient type. 310 [new LinearGradient([{ color: "#bbb7fc", offset: 0 }, { color: "#564af7", offset: 1 }]), 8], 311 [new LinearGradient([{ color: "#f5b5c2", offset: 0 }, { color: "#e64566", offset: 1 }]), 7], 312 [new LinearGradient([{ color: "#f8c5a6", offset: 0 }, { color: "#ed6f21", offset: 1 }]), 6], 313 [new LinearGradient([{ color: "#fceb99", offset: 0 }, { color: "#f7ce00", offset: 1 }]), 5], 314 [new LinearGradient([{ color: "#dbefa5", offset: 0 }, { color: "#a5d61d", offset: 1 }]), 4], 315 [new LinearGradient([{ color: "#c1e4be", offset: 0 }, { color: "#64bb5c", offset: 1 }]), 3], 316 [new LinearGradient([{ color: "#c0ece5", offset: 0 }, { color: "#61cfbe", offset: 1 }]), 2], 468 [new LinearGradient([{ color: "#bbb7fc", offset: 0 }, { color: "#564af7", offset: 1 }]), 8], [all …]
|
H A D | ts-basic-components-progress.md | 119 color(value: ResourceColor | LinearGradient) 123 **LinearGradient** is supported for the **Ring** type since API version 10. 125 … API can be used in ArkTS widgets since API version 9, except that **LinearGradient** is not suppo… 135 | value | [ResourceColor](ts-types.md#resourcecolor) \| [LinearGradient<sup>10+</sup>](ts-basic-co… 386 private gradientColor: LinearGradient = new LinearGradient([{ color: Color.Yellow, offset: 0.5 }, 414 private gradientColor: LinearGradient = new LinearGradient([{ color: Color.Yellow, offset: 0.5 },
|
H A D | ts-basic-components-slider.md | 89 trackColor(value: ResourceColor | LinearGradient) 93 **LinearGradient** is supported since API version 12. 105 …LinearGradient<sup>12+</sup>](ts-basic-components-datapanel.md#lineargradient10) | Yes | Backgrou…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | gradient_property.h | 220 struct ACE_EXPORT LinearGradient { struct 240 bool operator==(const LinearGradient& other) const argument 359 linearGradient_ = std::make_shared<LinearGradient>(); in CreateGradientWithType() 415 std::shared_ptr<LinearGradient>& GetLinearGradient() in GetLinearGradient() 420 const std::shared_ptr<LinearGradient>& GetLinearGradient() const in GetLinearGradient() 425 void SetLinearGradient(const LinearGradient& linearGradient) in SetLinearGradient() 427 linearGradient_ = std::make_shared<LinearGradient>(linearGradient); in SetLinearGradient() 432 if (LinearGradient::IsXAxis(direction)) { in SetDirection() 506 std::shared_ptr<LinearGradient> linearGradient_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkGauge.ts | 37 …colors(colors: ResourceColor | LinearGradient | Array<[ResourceColor | LinearGradient, number]>): … 114 …Modifier extends ModifierWithKey<ResourceColor | LinearGradient | Array<[ResourceColor | LinearGra…
|
H A D | ArkDataPanel.ts | 30 valueColors(value: Array<ResourceColor | LinearGradient>): this { 160 class DataPanelValueColorsModifier extends ModifierWithKey<Array<ResourceColor | LinearGradient>> {
|
H A D | ArkProgress.ts | 46 …color(value: ResourceColor | LinearGradient): ProgressAttribute<keyof ProgressStyleMap, LinearStyl… 118 class ProgressColorModifier extends ModifierWithKey<ResourceColor | LinearGradient> {
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | decoration.h | 372 struct ACE_EXPORT LinearGradient { struct 566 LinearGradient& GetLinearGradient() in GetLinearGradient() 571 const LinearGradient& GetLinearGradient() const in GetLinearGradient() 576 void SetLinearGradient(const LinearGradient& linearGradient) in SetLinearGradient() 583 if (LinearGradient::IsXAxis(direction)) { in SetDirection() 637 LinearGradient linearGradient_;
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.19/ |
H A D | changelogs-arkui.md | 119 …arameter Type for linearGradient, sweepGradient, radialGradient, and LinearGradient from Array\<an… 133 …eepGradient**, and **radialGradient** universal attributes and the **LinearGradient** API is allow… 139 **linearGradient**, **sweepGradient**, and **radialGradient**: API version 7; **LinearGradient**: A…
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.19/ |
H A D | changelogs-arkui.md | 119 ## cl.arkui.2 linearGradient、sweepGradient、radialGradient通用属性及LinearGradient interface中的colors参数类型从… 133 变更前:允许将linearGradient、sweepGradient、radialGradient通用属性及LinearGradient interface中的colors参数定义为Array&l… 139 linearGradient、sweepGradient、radialGradient通用属性的起始支持版本为API 7,LinearGradient interface中的起始支持版本为API 9。
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/ |
H A D | declaration.cpp | 2402 LinearGradient linearGradient; in SetBorderImageGradientDirections() 2412 LinearGradient linearGradient; in SetBorderImageGradientDirections() 2413 if (LinearGradient::IsXAxis(direction)) { in SetBorderImageGradientDirections() 2426 LinearGradient linearGradient; in SetBorderImageGradientDirections() 2429 if ((LinearGradient::IsXAxis(direction1) && LinearGradient::IsXAxis(direction2)) || in SetBorderImageGradientDirections() 2430 … (!LinearGradient::IsXAxis(direction1) && !LinearGradient::IsXAxis(direction2))) { in SetBorderImageGradientDirections() 2645 LinearGradient linearGradient; in SetGradientDirections() 2655 LinearGradient linearGradient; in SetGradientDirections() 2669 LinearGradient linearGradient; in SetGradientDirections() 2672 if ((LinearGradient::IsXAxis(direction1) && LinearGradient::IsXAxis(direction2)) || in SetGradientDirections() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/property/ |
H A D | gradient_property_test_ng.cpp | 97 LinearGradient linearGradient; 198 LinearGradient linearGradient;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | render_property.h | 231 ACE_DEFINE_PROPERTY_GROUP_ITEM(LinearGradient, NG::Gradient);
|
H A D | render_context.h | 633 ACE_DEFINE_PROPERTY_FUNC_WITH_GROUP(Gradient, LinearGradient, NG::Gradient);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/export/ |
H A D | arkComponent.d.ts | 1159 valueColors(value: Array<ResourceColor | LinearGradient>): this; 1202 …colors(colors: ResourceColor | LinearGradient | Array<[ResourceColor | LinearGradient, number]>): … 1256 …color(value: ResourceColor | LinearGradient): ProgressAttribute<keyof ProgressStyleMap, LinearStyl…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/Beta5 to v3.2-Release/ |
H A D | js-apidiff-arkui.md | 31 |新增|NA|类名:BorderImageOption<br>方法or属性:source?: string \| Resource \| LinearGradient,|common.d.ts| 32 |新增|NA|模块名: common<br>类名: LinearGradient|common.d.ts| 33 |新增|NA|类名:LinearGradient<br>方法or属性:|common.d.ts| 34 |新增|NA|模块名: common<br>类名: LinearGradient<br>方法 or 属性:angle?: number \| string;|common.d.ts| 35 |新增|NA|类名:LinearGradient<br>方法or属性:angle?: number \| string;|common.d.ts| 36 |新增|NA|模块名: common<br>类名: LinearGradient<br>方法 or 属性:direction?: GradientDirection;|common.d.ts| 37 |新增|NA|类名:LinearGradient<br>方法or属性:direction?: GradientDirection;|common.d.ts| 38 |新增|NA|模块名: common<br>类名: LinearGradient<br>方法 or 属性:colors: Array\<any>;|common.d.ts| 39 |新增|NA|类名:LinearGradient<br>方法or属性:colors: Array\<any>;|common.d.ts| 40 |新增|NA|模块名: common<br>类名: LinearGradient<br>方法 or 属性:repeating?: boolean;|common.d.ts| [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v4.0-beta2/ |
H A D | js-apidiff-arkui.md | 155 …LinearGradient>;<br>旧版本信息:?(Array\<ResourceColor \| LinearGradient>)|类名:DataPanelShadowOptions;<br…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/ |
H A D | js-apidiff-arkui.md | 220 |新增|NA|模块名: data_panel<br>类名: LinearGradient|data_panel.d.ts| 221 |新增|NA|模块名: data_panel<br>类名: LinearGradient<br>方法 or 属性: constructor(colorStops: ColorStop[]);|dat… 224 … DataPanelShadowOption<br>方法 or 属性: colors?: Array\<ResourceColor \| LinearGradient>;|data_panel.d… 227 …nelAttribute<br>方法 or 属性: valueColors(value: Array\<ResourceColor \| LinearGradient>): DataPanelAt…
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/svg/ |
H A D | parse_testtwo_ng.cpp | 651 LinearGradient linearGradientLocal;
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | ui-js-components-canvasrenderingcontext2d.md | 311 <option value="value1">LinearGradient</option>
|