Home
last modified time | relevance | path

Searched refs:arc (Results 1 – 25 of 86) sorted by relevance

1234

/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/canvas/indexAPIArc/
H A Dindex.js22 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 Dindex.js49 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 Dindex.js86 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 Dindex.js24 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 Djs-components-basic-progress.md25 …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 | &lt;color&gt; | - | No | Color of the arc progress bar. …
81 | background-color | &lt;color&gt; | - | No | Background color of the arc progress b…
83 | start-angle | &lt;deg&gt; | 240 | No | Start angle of the arc progress bar, w…
84 | total-angle | &lt;deg&gt; | 240 | No | Total length of the arc progress bar. …
85 …x | &lt;length&gt; | Half of the width of the arc progress bar | No | Center of the ar…
86 … | &lt;length&gt; | Half of the height of the arc progress bar | No | Center of the ar…
87 …ngth&gt; | Half of the minimum width and height of the arc progress bar| No | Radius of the arc
[all …]
H A Djs-components-canvas-path2d.md290 ## 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 Djs-components-basic-button.md7 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 | &lt;color&gt; | \#de0000 | No | Text color of the arc button. …
55 | font-size | &lt;length&gt; | 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 Dui-js-components-svg-path.md4 …ctions **M** (start point), **H** (horizontal line), and **a** (drawing an arc to a specified posi…
51arc. 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 Djs-service-widget-basic-progress.md22 …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 | &lt;color&gt; | - | No| Color of the arc progress bar.|
78 | background-color | &lt;color&gt; | - | No| Background color of the arc progress bar.|
80 | start-angle | &lt;deg&gt; | 240 | No| Start angle of the arc progress bar, which starts from the …
81 | total-angle | &lt;deg&gt; | 240 | No| Total length of the arc progress bar. The value ranges from…
82 | center-x | &lt;length&gt; | - | No| Center of the arc progress bar (with the upper left corner of…
83 | center-y | &lt;length&gt; | - | No| Center of the arc progress bar (with the upper left corner of…
84 | radius | &lt;length&gt; | - | 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 Darcofzorro.cpp54 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 Djs-lite-components-canvas-canvasrenderingcontext2d.md23 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 Djs-lite-components-basic-progress.md19 …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 | &lt;color&gt; | - | No | Color of the arc progress bar. …
61 …| background-color | &lt;color&gt; | - | No | Background color of the arc progress bar. …
62 …| stroke-width | &lt;length&gt; | - | No | Width of the arc progress bar.<br>A larger wi…
63 …| start-angle | &lt;deg&gt; | 240 | No | Start angle of the arc progress bar, which st…
64 …| total-angle | &lt;deg&gt; | 240 | No | Total length of the arc progress bar. The val…
65 …| center-x | &lt;length&gt; | - | No | Center of the arc progress bar (with the uppe…
67 …| radius | &lt;length&gt; | - | 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 Dindex.js73 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 Djs-service-widget-basic-progress.md22 …样式进度条。<br/>-&nbsp;ring:圆环形进度条。<br/>-&nbsp;scale-ring:带刻度圆环形进度条。<br/>-&nbsp;arc:弧形进度条。<br/>-&nbsp;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 Djs-components-basic-progress.md24 …g样式进度条;<br/>-&nbsp;ring:圆环形进度条;<br/>-&nbsp;scale-ring:带刻度圆环形进度条<br/>-&nbsp;arc:弧形进度条。<br/>-&nbsp;e…
39 - 类型为arc、eclipse5+时,支持如下属性:
75 type=arc
112 <progress class="min-progress" type="arc" percent= "10"></progress>
H A Djs-components-basic-button.md20 …本;<br/>-&nbsp;circle:圆形按钮,支持放置图标;<br/>-&nbsp;text:文本按钮,仅包含文本显示;<br/>-&nbsp;arc:弧形按钮,仅支持智能穿戴;<br/>-…
30 ### type设置为非arc
47 ### type设置为arc
/ohos5.0/docs/zh-cn/application-dev/form/
H A Darkts-ui-widget-page-custom-drawing.md35 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 Djs-lite-components-basic-progress.md19 …g | horizontal | 否 | 设置进度条的类型,该属性不支持动态修改,可选值为:<br/>-&nbsp;horizontal:线性进度条;<br/>-&nbsp;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 Darc_element.cpp24 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 Dts-components-canvas-path2d.md358 ## 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 Darkts-ui-widget-page-custom-drawing.md35 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 Dafd.rs216 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 Dui-js-components-svg-path.md51 …cal Arc 弧形命令 设置参数: rx ry x-axis-rotation(旋转角度)large-arc-flag(角度大小) sweep-flag(弧线方向) x y。large-ar…
H A Dui-js-components-path2d.md74 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 Dpty.rs121 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()

1234