Home
last modified time | relevance | path

Searched refs:Shape (Results 1 – 25 of 81) sorted by relevance

1234

/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-drawing-components-shape.md1 # Shape chapter
5 1、绘制组件使用Shape作为父组件,实现类似SVG的效果。
21 Shape(value?: PixelMap)
309 Shape() {
326 Shape() {
336 Shape() {
348 Shape() {
358 Shape() {
369 Shape() {
379 Shape() {
[all …]
H A Dts-universal-attributes-content-modifier.md80 Shape() {
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-geometric-shape-drawing.md1 # 绘制几何图形 (Shape)
4 绘制组件用于在页面绘制图形,Shape组件是绘制组件的父组件,父组件中会描述所有绘制组件均支持的通用属性。具体用法请参考[Shape](../reference/apis-arkui/arkui-t…
11 - 绘制组件使用Shape作为父组件,实现类似SVG的效果。接口调用为以下形式:
14 Shape(value?: PixelMap)
20 Shape() {
78 Shape() {
90 Text('Shape内缩小的Circle组件')
91 Shape() {
122 Shape() {
137 Shape() {
[all …]
H A Darkts-user-defined.md19 …其接口和W3C标准的Canvas接口相近,在性能不敏感的场景下,适用于熟悉Web开发的开发者,可用于移植基于W3C的Canvas的绘制库。<br>[Shape](arkts-geometric-s…
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/
H A DPlaneShape.js16 import { Shape } from './Shape.js';
19 export class PlaneShape extends Shape {
143 gl.uniformMatrix4fv(this.program.u_ModelMatrix, false, Shape.modelMatrix.getElements());
144 Shape.normalMatrix.setInverseOf(Shape.modelMatrix);
145 Shape.normalMatrix.transpose();
146 gl.uniformMatrix4fv(this.program.u_NormalMatrix, false, Shape.normalMatrix.getElements());
149 gl.uniform3fv(this.program.lightDirection, Shape.lightDirection);
150 gl.uniform1f(this.program.lightInnerCutoff, Shape.lightInner); //cos 15
151 gl.uniform1f(this.program.lightOuterCutoff, Shape.lightOuter); //cos 30
157 gl.uniform3fv(this.program.u_FogColor, Shape.fogColor);
[all …]
H A DCubeShape.js16 import { Shape } from './Shape.js';
19 export class CubeShape extends Shape {
270 gl.uniformMatrix4fv(this.program.u_ModelMatrix, false, Shape.modelMatrix.getElements());
271 Shape.normalMatrix.setInverseOf(Shape.modelMatrix);
272 Shape.normalMatrix.transpose();
273 gl.uniformMatrix4fv(this.program.u_NormalMatrix, false, Shape.normalMatrix.getElements());
276 gl.uniform3fv(this.program.lightDirection, Shape.lightDirection);
277 gl.uniform1f(this.program.lightInnerCutoff, Shape.lightInner); //cos 15
278 gl.uniform1f(this.program.lightOuterCutoff, Shape.lightOuter); //cos 30
284 gl.uniform3fv(this.program.u_FogColor, Shape.fogColor);
[all …]
H A DShape.js17 export class Shape { class
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-geometric-shape-drawing.md1 # Drawing Geometric Shapes (Shape)
4Shape** component is the parent component of the drawing components. The attributes of **Shape** a…
11 - Create a drawing component with **Shape** as their parent to implement the effect similar to SVG.…
14 Shape(value?: PixelMap)
20 Shape() {
78 Shape() {
91 Shape() {
122 Shape() {
137 Shape() {
277 Shape() {
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-drawing-components-shape.md1 # Shape chapter
7 2. The **Shape** component is used independently to draw a specific shape.
21 Shape(value?: PixelMap)
291 Shape() {
308 Shape() {
318 Shape() {
330 Shape() {
340 Shape() {
351 Shape() {
361 Shape() {
[all …]
H A Dts-universal-attributes-sharp-clipping.md1 # Shape Clipping
3 Shape clipping changes the visible portion of a component through clipping or masking.
63 …d#pathshape) \| [RectShape](../js-apis-arkui-shape.md#rectshape) | Yes | Shape that the component…
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/
H A Dprepared_model_service.cpp181 auto msShape = msOutput.Shape(); in UpdateOutput()
263 m_inputDims.push_back(input.Shape()); in Compile()
290 auto shapes = input.Shape(); in Compile()
298 m_inputDims.push_back(input.Shape()); in Compile()
420 if (tensor.dimensions.size() != msTensor.Shape().size()) { in CompareTensor()
426 int modelDim = static_cast<int>(msTensor.Shape()[i]); in CompareTensor()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample/
H A Dscene_demo.js21 import { Shape } from '../utils/Shape';
81 Shape.modelMatrix.setRotate(angle, 0, -1, 0);
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/
H A Dprepared_model_service.cpp140 auto msShape = msOutput.Shape(); in UpdateOutput()
245 auto shapes = input.Shape(); in Compile()
371 … if (msTensor.Shape()[i] != DYNAMIC_SHAPE_FLAG && tensor.dimensions[i] != msTensor.Shape()[i]) { in CompareTensor()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/nnrt/
H A D_shape_v10.md1 # Shape chapter
H A D_shape_v20.md1 # Shape chapter
H A DReadme-CN.md61 - [Shape](_shape_v20.md)
120 - [Shape](_shape_v10.md)
H A D_node_attr_types_8idl_v10.md63 | struct&nbsp;&nbsp;[Shape](_shape_v10.md) | 输出输入tensor的形状。 |
H A D_node_attr_types_8idl_v20.md63 | struct&nbsp;&nbsp;[Shape](_shape_v20.md) | 输出输入tensor的形状。 |
/ohos5.0/foundation/ability/form_fwk/frameworks/js/napi/form_info/
H A Djs_form_info.cpp200 engine, objValue, "RECT", CreateJsValue(engine, AppExecFwk::Constants::Shape::RECT)); in CreateJsFormShape()
202 engine, objValue, "CIRCLE", CreateJsValue(engine, AppExecFwk::Constants::Shape::CIRCLE)); in CreateJsFormShape()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkShape.ts127 globalThis.Shape.attributeModifier = function (modifier: ArkComponent): void {
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-svg-path.md27 | d | string | - | No| Shape of the path. The value contains a group of character instructions. Upp…
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Dtypescript-to-arkts-migration-guide.md1370 class Shape {}
1371 class Circle extends Shape { x: number = 5 }
1372 class Square extends Shape { y: string = 'a' }
1374 function createShape(): Shape {
1396 class Shape {}
1397 class Circle extends Shape { x: number = 5 }
1398 class Square extends Shape { y: string = 'a' }
1400 function createShape(): Shape {
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v1_0/cpp_target/nnrt/v1_0/
H A Dnode_attr_types.h.txt241 struct Shape {
437 bool ShapeBlockMarshalling(OHOS::MessageParcel &data, const OHOS::HDI::Nnrt::V1_0::Shape& dataBlock…
439 bool ShapeBlockUnmarshalling(OHOS::MessageParcel &data, OHOS::HDI::Nnrt::V1_0::Shape& dataBlock);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v2_0/cpp_target/nnrt/v2_0/
H A Dnode_attr_types.h.txt242 struct Shape {
438 bool ShapeBlockMarshalling(OHOS::MessageParcel &data, const OHOS::HDI::Nnrt::V2_0::Shape& dataBlock…
440 bool ShapeBlockUnmarshalling(OHOS::MessageParcel &data, OHOS::HDI::Nnrt::V2_0::Shape& dataBlock);
/ohos5.0/drivers/interface/nnrt/v1_0/
H A DNodeAttrTypes.idl238 struct Shape

1234