/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/canvas/indexAPIArc/ |
H A D | index.js | 22 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 28 ctx.arc(32768,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 34 ctx.arc(50,-32769,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 40 ctx.arc(50,50,32768,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 46 ctx.arc(50,50,30,Math.PI*2*(32768/360),Math.PI*2*(90/360),false); 52 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(-32769/360),false); 58 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360)); 64 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 70 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),true); 76 ctx.arc(100,70,50,Math.PI*2*(10/360),Math.PI*2*(1000/360),false); [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/canvas/indexAPIBeginPath/ |
H A D | index.js | 49 ctx.arc(100,50,50,Math.PI*2*(30/360),Math.PI*2*(150/360),false); 77 ctx.arc(100,50,50,Math.PI*2*(30/360),Math.PI*2*(150/360),false); 84 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 85 ctx.arc(100,50,50,Math.PI*2*(150/360),Math.PI*2*(30/360),false); 92 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 101 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 109 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 128 ctx.arc(100,50,50,Math.PI*2*(150/360),Math.PI*2*(30/360),false); 138 ctx.arc(100,50,50,Math.PI*2*(150/360),Math.PI*2*(30/360),false); 144 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false); [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/canvas/indexAPIClosePath/ |
H A D | index.js | 86 ctx.arc(100,100,50,Math.PI*2*(150/360),Math.PI*2*(30/360),false); 95 ctx.arc(100,100,50,Math.PI*2*(150/360),Math.PI*2*(30/360),false); 101 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 103 ctx.arc(150,70,50,Math.PI*2*(150/360),Math.PI*2*(30/360),false); 109 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 152 ctx.arc(120,70,50,Math.PI*2*(150/360),Math.PI*2*(30/360),false); 161 ctx.arc(120,70,50,Math.PI*2*(30/360),Math.PI*2*(150/360),false); 168 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 169 ctx.arc(150,70,50,Math.PI*2*(150/360),Math.PI*2*(30/360),false); 176 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false); [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/canvas/indexAPIStroke/ |
H A D | index.js | 24 ctx.arc(100,70,50,Math.PI*2*(150/360),Math.PI*2*(30/360),false); 38 ctx.arc(100,70,50,Math.PI*2*(150/360),Math.PI*2*(30/360),false); 46 ctx.arc(100,70,50,Math.PI*2*(150/360),Math.PI*2*(30/360),false); 51 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 53 ctx.arc(100,70,50,Math.PI*2*(150/360),Math.PI*2*(30/360),false); 58 ctx.arc(50,50,30,Math.PI*2*(0/360),Math.PI*2*(90/360),false);
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-basic-progress.md | 25 …gress bar.<br>- **scale-ring**: ring progress bar with a scale.<br>- **arc**: arc progress bar.<br… 40 - When the type is **arc** or **eclipse**<sup>5+</sup>, the following attributes are supported. 76 Arc progress bar, of which **type** is **arc** 80 | color | <color> | - | No | Color of the arc progress bar. … 81 | background-color | <color> | - | No | Background color of the arc progress b… 83 | start-angle | <deg> | 240 | No | Start angle of the arc progress bar, w… 84 | total-angle | <deg> | 240 | No | Total length of the arc progress bar. … 85 …x | <length> | Half of the width of the arc progress bar | No | Center of the ar… 86 … | <length> | Half of the height of the arc progress bar | No | Center of the ar… 87 …ngth> | Half of the minimum width and height of the arc progress bar| No | Radius of the arc … [all …]
|
H A D | js-components-canvas-path2d.md | 290 ## arc section 294 Draws an arc on the canvas. 302 | radius | number | Radius of the arc. | 303 | startAngle | number | Start radian of the arc. | 304 | endAngle | number | End radian of the arc. | 323 path.arc(100, 75, 50, 0, 6.28); 336 Draws an arc based on the radius and points on the arc. 342 | x1 | number | X-coordinate of the first point on the arc.| 343 | y1 | number | Y-coordinate of the first point on the arc.| 344 | x2 | number | X-coordinate of the second point on the arc.| [all …]
|
H A D | js-components-basic-button.md | 7 The **\<button>** component includes capsule, circle, text, arc, and download buttons. 21 …te icons.<br>- **text**: text button, which displays only text.<br>- **arc**: arc button. This val… 31 ### When the Button Type Is Not arc 48 ### When the Button Type Is arc 54 | text-color | <color> | \#de0000 | No | Text color of the arc button. … 55 | font-size | <length> | 37.5px | No | Font size of the arc button. … 57 | font-style | string | normal | No | Font style of the arc button. … 58 | font-weight | number \| string | normal | No | Font weight of the arc button. For details, …
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | ui-js-components-svg-path.md | 4 …ctions **M** (start point), **H** (horizontal line), and **a** (drawing an arc to a specified posi… 51 …arc. The following parameters are required: **rx ry x-axis-rotation** (rotation angle), **large-ar…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | js-service-widget-basic-progress.md | 22 …gress bar.<br>- **scale-ring**: ring progress bar with a scale.<br>- **arc**: arc progress bar.<br… 37 - When the type is **arc**, the following attributes are supported. 73 When the type is **arc**, the following styles are supported. 77 | color | <color> | - | No| Color of the arc progress bar.| 78 | background-color | <color> | - | No| Background color of the arc progress bar.| 80 | start-angle | <deg> | 240 | No| Start angle of the arc progress bar, which starts from the … 81 | total-angle | <deg> | 240 | No| Total length of the arc progress bar. The value ranges from… 82 | center-x | <length> | - | No| Center of the arc progress bar (with the upper left corner of… 83 | center-y | <length> | - | No| Center of the arc progress bar (with the upper left corner of… 84 | radius | <length> | - | No| Radius of the arc progress bar. This style must be used togethe… [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | arcofzorro.cpp | 54 for (float arc = 134.0f; arc < 136.0f; arc += 0.01f) { in OnTestFunction() local 62 OH_Drawing_CanvasDrawArc(canvas, rect, 0, arc); in OnTestFunction()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js-lite/ |
H A D | js-lite-components-canvas-canvasrenderingcontext2d.md | 23 ctx.arc(100, 75, 50, 0, 6.28); 319 ## arc()<sup>5+</sup> 321 Draws an arc on the canvas. 327 | x | number | X-coordinate of the center point of the arc.| 328 | y | number | Y-coordinate of the center point of the arc.| 329 | radius | number | Radius of the arc.| 330 | startAngle | number | Start radian of the arc.| 331 | endAngle | number | End radian of the arc.| 332 | anticlockwise | boolean | Whether to draw the arc counterclockwise.| 340 ctx.arc(100, 75, 50, 0, 6.28);
|
H A D | js-lite-components-basic-progress.md | 19 …e values are as follows:<br>- **horizontal**: linear progress bar.<br>- **arc**: arc progress bar.| 32 - When **type** is set to **arc**, the following attributes are supported. 56 - When **type** is set to **arc**, the following styles are supported. 60 …| color | <color> | - | No | Color of the arc progress bar. … 61 …| background-color | <color> | - | No | Background color of the arc progress bar. … 62 …| stroke-width | <length> | - | No | Width of the arc progress bar.<br>A larger wi… 63 …| start-angle | <deg> | 240 | No | Start angle of the arc progress bar, which st… 64 …| total-angle | <deg> | 240 | No | Total length of the arc progress bar. The val… 65 …| center-x | <length> | - | No | Center of the arc progress bar (with the uppe… 67 …| radius | <length> | - | No | Radius of the arc progress bar. This style mu… [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/canvas/indexAPIPerformance/ |
H A D | index.js | 73 ctx.arc(80,z,5,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 81 ctx.arc(80,z+10,5,Math.PI*2*(0/360),Math.PI*2*(90/360),false); 123 ctx.arc(170,z,5,Math.PI*2*(0/360),Math.PI*2*(140/360),false); 165 ctx.arc(160,30,10,Math.PI*2*(0/360),Math.PI*2*(360/360),false);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | js-service-widget-basic-progress.md | 22 …样式进度条。<br/>- ring:圆环形进度条。<br/>- scale-ring:带刻度圆环形进度条。<br/>- arc:弧形进度条。<br/>- e… 37 - 类型为arc、eclipse时,支持如下属性: 73 type=arc 100 <progress class="min-progress" type="arc" percent= "10"></progress>
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-basic-progress.md | 24 …g样式进度条;<br/>- ring:圆环形进度条;<br/>- scale-ring:带刻度圆环形进度条<br/>- arc:弧形进度条。<br/>- e… 39 - 类型为arc、eclipse5+时,支持如下属性: 75 type=arc 112 <progress class="min-progress" type="arc" percent= "10"></progress>
|
H A D | js-components-basic-button.md | 20 …本;<br/>- circle:圆形按钮,支持放置图标;<br/>- text:文本按钮,仅包含文本显示;<br/>- arc:弧形按钮,仅支持智能穿戴;<br/>-… 30 ### type设置为非arc 47 ### type设置为arc
|
/ohos5.0/docs/zh-cn/application-dev/form/ |
H A D | arkts-ui-widget-page-custom-drawing.md | 35 this.context.arc(circleX, circleY, radius, 2 * Math.PI, 0, true); 44 this.context.arc(leftX, leftY, leftR, 0, 2 * Math.PI, true); 54 this.context.arc(rightX, rightY, rightR, 0, 2 * Math.PI, true); 76 this.context.arc(mouthX, mouthY, mouthR, Math.PI / 1.4, Math.PI / 3.4, true);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js-lite/ |
H A D | js-lite-components-basic-progress.md | 19 …g | horizontal | 否 | 设置进度条的类型,该属性不支持动态修改,可选值为:<br/>- horizontal:线性进度条;<br/>- arc:弧形进度条。 | 32 - 类型为arc时,支持如下属性: 56 - type为arc,支持如下样式: 91 <progress type="arc" class="min-progress" percent="{{arcVal}}" on:click="changeArc"></progress>
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/arc/ |
H A D | arc_element.cpp | 24 RefPtr<ArcComponent> arc = AceType::DynamicCast<ArcComponent>(component_); in PerformBuild() local 25 if (arc) { in PerformBuild()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-components-canvas-path2d.md | 358 ## arc section 362 Draws an arc on the canvas. 376 | radius | number | Yes | 0 | Radius of the arc.<br>Default unit: vp | 377 | startAngle | number | Yes | 0 | Start radian of the arc. | 378 | endAngle | number | Yes | 0 | End radian of the arc. | 379 | counterclockwise | boolean | No | false | Whether to draw the arc counterclockwise. | 399 this.path2Db.arc(100, 75, 50, 0, 6.28) 416 Draws an arc based on the radius and points on the arc. 428 | x1 | number | Yes | 0 | X coordinate of the first point on the arc.<br>Default unit: vp | 429 | y1 | number | Yes | 0 | Y coordinate of the first point on the arc.<br>Default unit: vp | [all …]
|
/ohos5.0/docs/en/application-dev/form/ |
H A D | arkts-ui-widget-page-custom-drawing.md | 35 this.context.arc(circleX, circleY, radius, 2 * Math.PI, 0, true); 44 this.context.arc(leftX, leftY, leftR, 0, 2 * Math.PI, true); 54 this.context.arc(rightX, rightY, rightR, 0, 2 * Math.PI, true); 76 this.context.arc(mouthX, mouthY, mouthR, Math.PI / 1.4, Math.PI / 3.4, true);
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/ |
H A D | afd.rs | 216 let arc = Arc::new(Afd::new(&self.cp)?); in acquire() localVariable 217 afd_group.push(arc); in acquire() 221 Some(arc) => Ok(arc.clone()), in acquire()
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | ui-js-components-svg-path.md | 51 …cal Arc 弧形命令 设置参数: rx ry x-axis-rotation(旋转角度)large-arc-flag(角度大小) sweep-flag(弧线方向) x y。large-ar…
|
H A D | ui-js-components-path2d.md | 74 path.arc(520, 450, 85, 0, 6); 167 this.path2.arc(300, 300, 75, 0, 6.28); 189 this.path3.arc(150, 150, 100, 0, 6.28);
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/ |
H A D | pty.rs | 121 let arc = Arc::new(self); in into_split() localVariable 122 let read = SplitReadPty(Arc::clone(&arc)); in into_split() 123 let write = SplitWritePty(Arc::clone(&arc)); in into_split()
|