• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import {
2  memo,
3  __memo_context_type,
4  __memo_id_type,
5  State,
6  MutableState,
7  stateOf,
8  observableProxy
9} from '@ohos.arkui.stateManagement' // should be insert by ui-plugins
10
11import {
12  Callback,
13  Matrix2D,
14  Path2D,
15  CanvasFillRule,
16  PixelMap,
17  LengthMetricsUnit,
18  Stack,
19  OffscreenCanvasRenderingContext2D,
20  DrawingRenderingContext,
21  DragItemInfo,
22  CustomBuilder,
23  DragEvent,
24  ImageAnalyzerController,
25  ImageAnalyzerConfig,
26  ImageAnalyzerType,
27  ImageAIOptions,
28  ImageData,
29  ImageBitmap,
30  Entry,
31  OffscreenCanvas,
32  Canvas,
33  CanvasRenderingContext2D,
34  RenderingContextSettings,
35  Text,
36  TextAttribute,
37  Column,
38  Component,
39  Button,
40  ButtonAttribute,
41  ClickEvent,
42  UserView,
43  NavDestination,
44  NavPathStack,
45  NavDestinationContext
46} from '@ohos.arkui.component'  // TextAttribute should be insert by ui-plugins
47
48import hilog from '@ohos.hilog'
49
50@Entry
51@Component
52export struct CanvasTest {
53
54
55  build() {
56    NavDestination() {
57    }
58    .title('Canvas组件基础功能测试用例')
59  }
60}
61