/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-drawing-components-shape.md | 1 # 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 D | ts-universal-attributes-content-modifier.md | 80 Shape() {
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-geometric-shape-drawing.md | 1 # 绘制几何图形 (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 D | arkts-user-defined.md | 19 …其接口和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 D | PlaneShape.js | 16 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 D | CubeShape.js | 16 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 D | Shape.js | 17 export class Shape { class
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-geometric-shape-drawing.md | 1 # Drawing Geometric Shapes (Shape) 4 …Shape** 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 D | ts-drawing-components-shape.md | 1 # 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 D | ts-universal-attributes-sharp-clipping.md | 1 # 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 D | prepared_model_service.cpp | 181 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 D | scene_demo.js | 21 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 D | prepared_model_service.cpp | 140 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.md | 1 # Shape chapter
|
H A D | _shape_v20.md | 1 # Shape chapter
|
H A D | Readme-CN.md | 61 - [Shape](_shape_v20.md) 120 - [Shape](_shape_v10.md)
|
H A D | _node_attr_types_8idl_v10.md | 63 | struct [Shape](_shape_v10.md) | 输出输入tensor的形状。 |
|
H A D | _node_attr_types_8idl_v20.md | 63 | struct [Shape](_shape_v20.md) | 输出输入tensor的形状。 |
|
/ohos5.0/foundation/ability/form_fwk/frameworks/js/napi/form_info/ |
H A D | js_form_info.cpp | 200 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 D | ArkShape.ts | 127 globalThis.Shape.attributeModifier = function (modifier: ArkComponent): void {
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-svg-path.md | 27 | 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 D | typescript-to-arkts-migration-guide.md | 1370 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 D | node_attr_types.h.txt | 241 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 D | node_attr_types.h.txt | 242 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 D | NodeAttrTypes.idl | 238 struct Shape
|