Home
last modified time | relevance | path

Searched refs:PathShape (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_shape/src/
H A DPathShape.ts29 class PathShape extends __PathShape__<PathShape> {
34 offset(offset: Position): PathShape {
38 fill(width: string | number): PathShape {
42 position(position: Position): PathShape {
46 commands(commands: string): PathShape {
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-shape.md15 import { CircleShape, EllipseShape, PathShape, RectShape } from "@kit.ArkUI";
66 ## PathShape section
92 commands(commands: string): PathShape
196 PathShape 的构造函数参数。
354 import { CircleShape, EllipseShape, PathShape, RectShape } from "@kit.ArkUI";
371 Text('PathShape, fill').fontSize(20).width('75%').fontColor('#DCDCDC')
373 .maskShape(new PathShape().commands('M100 0 L200 240 L0 240 Z').fill(Color.Red))
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsShape.js98 class PathShape extends __PathShape__ { class
153 export default { RectShape, CircleShape, PathShape, EllipseShape };
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-sharp-clipping.md49 clipShape(value: CircleShape | EllipseShape | PathShape | RectShape)
63 …sp;[EllipseShape](../js-apis-arkui-shape.md#ellipseshape)&nbsp;\|&nbsp;[PathShape](../js-apis-arku…
103 maskShape(value: CircleShape | EllipseShape | PathShape | RectShape)
117 …sp;[EllipseShape](../js-apis-arkui-shape.md#ellipseshape)&nbsp;\|&nbsp;[PathShape](../js-apis-arku…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-shape.md15 import { CircleShape, EllipseShape, PathShape, RectShape } from "@kit.ArkUI";
66 ## PathShape section
92 commands(commands: string): PathShape
196 Represents the parameter of the constructor used to create a **PathShape** object.
354 import { CircleShape, EllipseShape, PathShape, RectShape } from "@kit.ArkUI";
371 Text('PathShape, fill').fontSize(20).width('75%').fontColor('#DCDCDC')
373 .maskShape(new PathShape().commands('M100 0 L200 240 L0 240 Z').fill(Color.Red))
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-sharp-clipping.md49 clipShape(value: CircleShape | EllipseShape | PathShape | RectShape)
63 …cleshape) \| [EllipseShape](../js-apis-arkui-shape.md#ellipseshape) \| [PathShape](../js-apis-arku…
103 maskShape(value: CircleShape | EllipseShape | PathShape | RectShape)
117 …cleshape) \| [EllipseShape](../js-apis-arkui-shape.md#ellipseshape) \| [PathShape](../js-apis-arku…