• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2020-2023 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16/**
17 * @file
18 * @kit ArkUI
19 */
20
21/**
22 * Used to do matrix operations
23 *
24 * @namespace matrix4
25 * @syscap SystemCapability.ArkUI.ArkUI.Full
26 * @since 7
27 */
28/**
29 * Used to do matrix operations
30 *
31 * @namespace matrix4
32 * @syscap SystemCapability.ArkUI.ArkUI.Full
33 * @crossplatform
34 * @since 10
35 */
36/**
37 * Used to do matrix operations
38 *
39 * @namespace matrix4
40 * @syscap SystemCapability.ArkUI.ArkUI.Full
41 * @crossplatform
42 * @atomicservice
43 * @since 11
44 */
45declare namespace matrix4 {
46  /**
47   * Set translation parameters
48   *
49   * @interface TranslateOption
50   * @syscap SystemCapability.ArkUI.ArkUI.Full
51   * @since 7
52   */
53  /**
54   * Set translation parameters
55   *
56   * @interface TranslateOption
57   * @syscap SystemCapability.ArkUI.ArkUI.Full
58   * @crossplatform
59   * @since 10
60   */
61  /**
62   * Set translation parameters
63   *
64   * @interface TranslateOption
65   * @syscap SystemCapability.ArkUI.ArkUI.Full
66   * @crossplatform
67   * @atomicservice
68   * @since 11
69   */
70  interface TranslateOption {
71    /**
72     * Indicates the translation distance of the x-axis, in px.
73     *
74     * @type { ?number }
75     * @syscap SystemCapability.ArkUI.ArkUI.Full
76     * @since 7
77     */
78    /**
79     * Indicates the translation distance of the x-axis, in px.
80     *
81     * @type { ?number }
82     * @syscap SystemCapability.ArkUI.ArkUI.Full
83     * @crossplatform
84     * @since 10
85     */
86    /**
87     * Indicates the translation distance of the x-axis, in px.
88     *
89     * @type { ?number }
90     * @syscap SystemCapability.ArkUI.ArkUI.Full
91     * @crossplatform
92     * @atomicservice
93     * @since 11
94     */
95    x?: number;
96
97    /**
98     * Indicates the translation distance of the y-axis, in px.
99     *
100     * @type { ?number }
101     * @syscap SystemCapability.ArkUI.ArkUI.Full
102     * @since 7
103     */
104    /**
105     * Indicates the translation distance of the y-axis, in px.
106     *
107     * @type { ?number }
108     * @syscap SystemCapability.ArkUI.ArkUI.Full
109     * @crossplatform
110     * @since 10
111     */
112    /**
113     * Indicates the translation distance of the y-axis, in px.
114     *
115     * @type { ?number }
116     * @syscap SystemCapability.ArkUI.ArkUI.Full
117     * @crossplatform
118     * @atomicservice
119     * @since 11
120     */
121    y?: number;
122
123    /**
124     * Indicates the translation distance of the z-axis, in px.
125     *
126     * @type { ?number }
127     * @syscap SystemCapability.ArkUI.ArkUI.Full
128     * @since 7
129     */
130    /**
131     * Indicates the translation distance of the z-axis, in px.
132     *
133     * @type { ?number }
134     * @syscap SystemCapability.ArkUI.ArkUI.Full
135     * @crossplatform
136     * @since 10
137     */
138    /**
139     * Indicates the translation distance of the z-axis, in px.
140     *
141     * @type { ?number }
142     * @syscap SystemCapability.ArkUI.ArkUI.Full
143     * @crossplatform
144     * @atomicservice
145     * @since 11
146     */
147    z?: number;
148  }
149
150  /**
151   * Set scaling parameters
152   *
153   * @interface ScaleOption
154   * @syscap SystemCapability.ArkUI.ArkUI.Full
155   * @since 7
156   */
157  /**
158   * Set scaling parameters
159   *
160   * @interface ScaleOption
161   * @syscap SystemCapability.ArkUI.ArkUI.Full
162   * @crossplatform
163   * @since 10
164   */
165  /**
166   * Set scaling parameters
167   *
168   * @interface ScaleOption
169   * @syscap SystemCapability.ArkUI.ArkUI.Full
170   * @crossplatform
171   * @atomicservice
172   * @since 11
173   */
174  interface ScaleOption {
175    /**
176     * Zoom factor of the x-axis.
177     *
178     * @type { ?number }
179     * @syscap SystemCapability.ArkUI.ArkUI.Full
180     * @since 7
181     */
182    /**
183     * Zoom factor of the x-axis.
184     *
185     * @type { ?number }
186     * @syscap SystemCapability.ArkUI.ArkUI.Full
187     * @crossplatform
188     * @since 10
189     */
190    /**
191     * Zoom factor of the x-axis.
192     *
193     * @type { ?number }
194     * @syscap SystemCapability.ArkUI.ArkUI.Full
195     * @crossplatform
196     * @atomicservice
197     * @since 11
198     */
199    x?: number;
200
201    /**
202     * Zoom factor of the y-axis.
203     *
204     * @type { ?number }
205     * @syscap SystemCapability.ArkUI.ArkUI.Full
206     * @since 7
207     */
208    /**
209     * Zoom factor of the y-axis.
210     *
211     * @type { ?number }
212     * @syscap SystemCapability.ArkUI.ArkUI.Full
213     * @crossplatform
214     * @since 10
215     */
216    /**
217     * Zoom factor of the y-axis.
218     *
219     * @type { ?number }
220     * @syscap SystemCapability.ArkUI.ArkUI.Full
221     * @crossplatform
222     * @atomicservice
223     * @since 11
224     */
225    y?: number;
226
227    /**
228     * Zoom factor of the z-axis.
229     *
230     * @type { ?number }
231     * @syscap SystemCapability.ArkUI.ArkUI.Full
232     * @since 7
233     */
234    /**
235     * Zoom factor of the z-axis.
236     *
237     * @type { ?number }
238     * @syscap SystemCapability.ArkUI.ArkUI.Full
239     * @crossplatform
240     * @since 10
241     */
242    /**
243     * Zoom factor of the z-axis.
244     *
245     * @type { ?number }
246     * @syscap SystemCapability.ArkUI.ArkUI.Full
247     * @crossplatform
248     * @atomicservice
249     * @since 11
250     */
251    z?: number;
252
253    /**
254     * Transform the x-axis coordinate of the center point.
255     *
256     * @type { ?number }
257     * @syscap SystemCapability.ArkUI.ArkUI.Full
258     * @since 7
259     */
260    /**
261     * Transform the x-axis coordinate of the center point.
262     *
263     * @type { ?number }
264     * @syscap SystemCapability.ArkUI.ArkUI.Full
265     * @crossplatform
266     * @since 10
267     */
268    /**
269     * Transform the x-axis coordinate of the center point.
270     *
271     * @type { ?number }
272     * @syscap SystemCapability.ArkUI.ArkUI.Full
273     * @crossplatform
274     * @atomicservice
275     * @since 11
276     */
277    centerX?: number;
278
279    /**
280     * Transform the y-axis coordinate of the center point.
281     *
282     * @type { ?number }
283     * @syscap SystemCapability.ArkUI.ArkUI.Full
284     * @since 7
285     */
286    /**
287     * Transform the y-axis coordinate of the center point.
288     *
289     * @type { ?number }
290     * @syscap SystemCapability.ArkUI.ArkUI.Full
291     * @crossplatform
292     * @since 10
293     */
294    /**
295     * Transform the y-axis coordinate of the center point.
296     *
297     * @type { ?number }
298     * @syscap SystemCapability.ArkUI.ArkUI.Full
299     * @crossplatform
300     * @atomicservice
301     * @since 11
302     */
303    centerY?: number;
304  }
305
306  /**
307   * Set Rotation Parameters.
308   *
309   * @interface RotateOption
310   * @syscap SystemCapability.ArkUI.ArkUI.Full
311   * @since 7
312   */
313  /**
314   * Set Rotation Parameters.
315   *
316   * @interface RotateOption
317   * @syscap SystemCapability.ArkUI.ArkUI.Full
318   * @crossplatform
319   * @since 10
320   */
321  /**
322   * Set Rotation Parameters.
323   *
324   * @interface RotateOption
325   * @syscap SystemCapability.ArkUI.ArkUI.Full
326   * @crossplatform
327   * @atomicservice
328   * @since 11
329   */
330  interface RotateOption {
331    /**
332     * Axis of rotation vector x coordinate.
333     *
334     * @type { ?number }
335     * @syscap SystemCapability.ArkUI.ArkUI.Full
336     * @since 7
337     */
338    /**
339     * Axis of rotation vector x coordinate.
340     *
341     * @type { ?number }
342     * @syscap SystemCapability.ArkUI.ArkUI.Full
343     * @crossplatform
344     * @since 10
345     */
346    /**
347     * Axis of rotation vector x coordinate.
348     *
349     * @type { ?number }
350     * @syscap SystemCapability.ArkUI.ArkUI.Full
351     * @crossplatform
352     * @atomicservice
353     * @since 11
354     */
355    x?: number;
356
357    /**
358     * Axis of rotation vector y coordinate.
359     *
360     * @type { ?number }
361     * @syscap SystemCapability.ArkUI.ArkUI.Full
362     * @since 7
363     */
364    /**
365     * Axis of rotation vector y coordinate.
366     *
367     * @type { ?number }
368     * @syscap SystemCapability.ArkUI.ArkUI.Full
369     * @crossplatform
370     * @since 10
371     */
372    /**
373     * Axis of rotation vector y coordinate.
374     *
375     * @type { ?number }
376     * @syscap SystemCapability.ArkUI.ArkUI.Full
377     * @crossplatform
378     * @atomicservice
379     * @since 11
380     */
381    y?: number;
382
383    /**
384     * Axis of rotation vector z coordinate.
385     *
386     * @type { ?number }
387     * @syscap SystemCapability.ArkUI.ArkUI.Full
388     * @since 7
389     */
390    /**
391     * Axis of rotation vector z coordinate.
392     *
393     * @type { ?number }
394     * @syscap SystemCapability.ArkUI.ArkUI.Full
395     * @crossplatform
396     * @since 10
397     */
398    /**
399     * Axis of rotation vector z coordinate.
400     *
401     * @type { ?number }
402     * @syscap SystemCapability.ArkUI.ArkUI.Full
403     * @crossplatform
404     * @atomicservice
405     * @since 11
406     */
407    z?: number;
408
409    /**
410     * Transform the x-axis coordinate of the center point.
411     *
412     * @type { ?number }
413     * @syscap SystemCapability.ArkUI.ArkUI.Full
414     * @since 7
415     */
416    /**
417     * Transform the x-axis coordinate of the center point.
418     *
419     * @type { ?number }
420     * @syscap SystemCapability.ArkUI.ArkUI.Full
421     * @crossplatform
422     * @since 10
423     */
424    /**
425     * Transform the x-axis coordinate of the center point.
426     *
427     * @type { ?number }
428     * @syscap SystemCapability.ArkUI.ArkUI.Full
429     * @crossplatform
430     * @atomicservice
431     * @since 11
432     */
433    centerX?: number;
434
435    /**
436     * Transform the y-axis coordinate of the center point.
437     *
438     * @type { ?number }
439     * @syscap SystemCapability.ArkUI.ArkUI.Full
440     * @since 7
441     */
442    /**
443     * Transform the y-axis coordinate of the center point.
444     *
445     * @type { ?number }
446     * @syscap SystemCapability.ArkUI.ArkUI.Full
447     * @crossplatform
448     * @since 10
449     */
450    /**
451     * Transform the y-axis coordinate of the center point.
452     *
453     * @type { ?number }
454     * @syscap SystemCapability.ArkUI.ArkUI.Full
455     * @crossplatform
456     * @atomicservice
457     * @since 11
458     */
459    centerY?: number;
460
461    /**
462     * Rotation angle.
463     *
464     * @type { ?number }
465     * @syscap SystemCapability.ArkUI.ArkUI.Full
466     * @since 7
467     */
468    /**
469     * Rotation angle.
470     *
471     * @type { ?number }
472     * @syscap SystemCapability.ArkUI.ArkUI.Full
473     * @crossplatform
474     * @since 10
475     */
476    /**
477     * Rotation angle.
478     *
479     * @type { ?number }
480     * @syscap SystemCapability.ArkUI.ArkUI.Full
481     * @crossplatform
482     * @atomicservice
483     * @since 11
484     */
485    angle?: number;
486  }
487
488  /**
489   * Matrix4Transit.
490   *
491   * @interface Matrix4Transit
492   * @syscap SystemCapability.ArkUI.ArkUI.Full
493   * @since 7
494   */
495  /**
496   * Matrix4Transit.
497   *
498   * @interface Matrix4Transit
499   * @syscap SystemCapability.ArkUI.ArkUI.Full
500   * @crossplatform
501   * @since 10
502   */
503  /**
504   * Matrix4Transit.
505   *
506   * @interface Matrix4Transit
507   * @syscap SystemCapability.ArkUI.ArkUI.Full
508   * @crossplatform
509   * @atomicservice
510   * @since 11
511   */
512  interface Matrix4Transit {
513    /**
514     * Copy function of Matrix, which can copy a copy of the current matrix object.
515     *
516     * @returns { Matrix4Transit } Return to Matrix4Transit
517     * @syscap SystemCapability.ArkUI.ArkUI.Full
518     * @since 7
519     */
520    /**
521     * Copy function of Matrix, which can copy a copy of the current matrix object.
522     *
523     * @returns { Matrix4Transit } Return to Matrix4Transit
524     * @syscap SystemCapability.ArkUI.ArkUI.Full
525     * @crossplatform
526     * @since 10
527     */
528    /**
529     * Copy function of Matrix, which can copy a copy of the current matrix object.
530     *
531     * @returns { Matrix4Transit } Return to Matrix4Transit
532     * @syscap SystemCapability.ArkUI.ArkUI.Full
533     * @crossplatform
534     * @atomicservice
535     * @since 11
536     */
537    copy(): Matrix4Transit;
538
539    /**
540     * The inverse function of Matrix returns an inverse matrix of the current matrix object, that is, the effect is exactly the opposite.
541     *
542     * @returns { Matrix4Transit } Return to Matrix4Transit
543     * @syscap SystemCapability.ArkUI.ArkUI.Full
544     * @since 7
545     */
546    /**
547     * The inverse function of Matrix returns an inverse matrix of the current matrix object, that is, the effect is exactly the opposite.
548     *
549     * @returns { Matrix4Transit } Return to Matrix4Transit
550     * @syscap SystemCapability.ArkUI.ArkUI.Full
551     * @crossplatform
552     * @since 10
553     */
554    /**
555     * The inverse function of Matrix returns an inverse matrix of the current matrix object, that is, the effect is exactly the opposite.
556     *
557     * @returns { Matrix4Transit } Return to Matrix4Transit
558     * @syscap SystemCapability.ArkUI.ArkUI.Full
559     * @crossplatform
560     * @atomicservice
561     * @since 11
562     */
563    invert(): Matrix4Transit;
564
565    /**
566     * Matrix superposition function, which can superpose the effects of two matrices to generate a new matrix object.
567     *
568     * @param { Matrix4Transit } options
569     * @returns { Matrix4Transit } Return to Matrix4Transit
570     * @syscap SystemCapability.ArkUI.ArkUI.Full
571     * @since 7
572     */
573    /**
574     * Matrix superposition function, which can superpose the effects of two matrices to generate a new matrix object.
575     *
576     * @param { Matrix4Transit } options
577     * @returns { Matrix4Transit } Return to Matrix4Transit
578     * @syscap SystemCapability.ArkUI.ArkUI.Full
579     * @crossplatform
580     * @since 10
581     */
582    /**
583     * Matrix superposition function, which can superpose the effects of two matrices to generate a new matrix object.
584     *
585     * @param { Matrix4Transit } options
586     * @returns { Matrix4Transit } Return to Matrix4Transit
587     * @syscap SystemCapability.ArkUI.ArkUI.Full
588     * @crossplatform
589     * @atomicservice
590     * @since 11
591     */
592    combine(options: Matrix4Transit): Matrix4Transit;
593
594    /**
595     * Matrix translation function, which can add the x-axis, Y-axis, or Z-axis translation effect to the current matrix.
596     *
597     * @param { TranslateOption } options
598     * @returns { Matrix4Transit } Return to Matrix4Transit
599     * @syscap SystemCapability.ArkUI.ArkUI.Full
600     * @since 7
601     */
602    /**
603     * Matrix translation function, which can add the x-axis, Y-axis, or Z-axis translation effect to the current matrix.
604     *
605     * @param { TranslateOption } options
606     * @returns { Matrix4Transit } Return to Matrix4Transit
607     * @syscap SystemCapability.ArkUI.ArkUI.Full
608     * @crossplatform
609     * @since 10
610     */
611    /**
612     * Matrix translation function, which can add the x-axis, Y-axis, or Z-axis translation effect to the current matrix.
613     *
614     * @param { TranslateOption } options
615     * @returns { Matrix4Transit } Return to Matrix4Transit
616     * @syscap SystemCapability.ArkUI.ArkUI.Full
617     * @crossplatform
618     * @atomicservice
619     * @since 11
620     */
621    translate(options: TranslateOption): Matrix4Transit;
622
623    /**
624     * Scaling function of the Matrix, which can add the x-axis, Y-axis, or Z-axis scaling effect to the current matrix.
625     *
626     * @param { ScaleOption } options
627     * @returns { Matrix4Transit } Return to Matrix4Transit
628     * @syscap SystemCapability.ArkUI.ArkUI.Full
629     * @since 7
630     */
631    /**
632     * Scaling function of the Matrix, which can add the x-axis, Y-axis, or Z-axis scaling effect to the current matrix.
633     *
634     * @param { ScaleOption } options
635     * @returns { Matrix4Transit } Return to Matrix4Transit
636     * @syscap SystemCapability.ArkUI.ArkUI.Full
637     * @crossplatform
638     * @since 10
639     */
640    /**
641     * Scaling function of the Matrix, which can add the x-axis, Y-axis, or Z-axis scaling effect to the current matrix.
642     *
643     * @param { ScaleOption } options
644     * @returns { Matrix4Transit } Return to Matrix4Transit
645     * @syscap SystemCapability.ArkUI.ArkUI.Full
646     * @crossplatform
647     * @atomicservice
648     * @since 11
649     */
650    scale(options: ScaleOption): Matrix4Transit;
651
652    /**
653     * Rotation function of the Matrix. You can add the x-axis, Y-axis, or Z-axis rotation effect to the current matrix.
654     *
655     * @param { RotateOption } options
656     * @returns { Matrix4Transit } Return to Matrix4Transit
657     * @syscap SystemCapability.ArkUI.ArkUI.Full
658     * @since 7
659     */
660    /**
661     * Rotation function of the Matrix. You can add the x-axis, Y-axis, or Z-axis rotation effect to the current matrix.
662     *
663     * @param { RotateOption } options
664     * @returns { Matrix4Transit } Return to Matrix4Transit
665     * @syscap SystemCapability.ArkUI.ArkUI.Full
666     * @crossplatform
667     * @since 10
668     */
669    /**
670     * Rotation function of the Matrix. You can add the x-axis, Y-axis, or Z-axis rotation effect to the current matrix.
671     *
672     * @param { RotateOption } options
673     * @returns { Matrix4Transit } Return to Matrix4Transit
674     * @syscap SystemCapability.ArkUI.ArkUI.Full
675     * @crossplatform
676     * @atomicservice
677     * @since 11
678     */
679    rotate(options: RotateOption): Matrix4Transit;
680
681    /**
682     * Matrix coordinate point conversion function, which can apply the current transformation effect to a coordinate point.
683     *
684     * @param { [number, number] } options
685     * @returns { [number, number] } Return to Matrix4Transit
686     * @syscap SystemCapability.ArkUI.ArkUI.Full
687     * @since 7
688     */
689    /**
690     * Matrix coordinate point conversion function, which can apply the current transformation effect to a coordinate point.
691     *
692     * @param { [number, number] } options
693     * @returns { [number, number] } Return to Matrix4Transit
694     * @syscap SystemCapability.ArkUI.ArkUI.Full
695     * @crossplatform
696     * @since 10
697     */
698    /**
699     * Matrix coordinate point conversion function, which can apply the current transformation effect to a coordinate point.
700     *
701     * @param { [number, number] } options
702     * @returns { [number, number] } Return to Matrix4Transit
703     * @syscap SystemCapability.ArkUI.ArkUI.Full
704     * @crossplatform
705     * @atomicservice
706     * @since 11
707     */
708    transformPoint(options: [number, number]): [number, number];
709  }
710
711  /**
712   * Constructor of Matrix, which can create a fourth-order matrix based on the input parameters. The matrix is column-first.
713   *
714   * @param { [number,number,number,number,number,number,number,number,number,number,number,number,number,number,number,number] } options
715   * options indicates a fourth-order matrix
716   * @returns { Matrix4Transit } Return to Matrix4Transit
717   * @syscap SystemCapability.ArkUI.ArkUI.Full
718   * @since 7
719   */
720  /**
721   * Constructor of Matrix, which can create a fourth-order matrix based on the input parameters. The matrix is column-first.
722   *
723   * @param { [number,number,number,number,number,number,number,number,number,number,number,number,number,number,number,number] } options
724   * options indicates a fourth-order matrix
725   * @returns { Matrix4Transit } Return to Matrix4Transit
726   * @syscap SystemCapability.ArkUI.ArkUI.Full
727   * @crossplatform
728   * @since 10
729   */
730  /**
731   * Constructor of Matrix, which can create a fourth-order matrix based on the input parameters. The matrix is column-first.
732   *
733   * @param { [number,number,number,number,number,number,number,number,number,number,number,number,number,number,number,number] } options
734   * options indicates a fourth-order matrix
735   * @returns { Matrix4Transit } Return to Matrix4Transit
736   * @syscap SystemCapability.ArkUI.ArkUI.Full
737   * @crossplatform
738   * @atomicservice
739   * @since 11
740   */
741  function init(
742    options: [
743      number,
744      number,
745      number,
746      number,
747      number,
748      number,
749      number,
750      number,
751      number,
752      number,
753      number,
754      number,
755      number,
756      number,
757      number,
758      number
759    ]
760  ): Matrix4Transit;
761
762  /**
763   * Matrix initialization function, which can return an identity matrix object.
764   *
765   * @returns { Matrix4Transit } Return to Matrix4Transit
766   * @syscap SystemCapability.ArkUI.ArkUI.Full
767   * @since 7
768   */
769  /**
770   * Matrix initialization function, which can return an identity matrix object.
771   *
772   * @returns { Matrix4Transit } Return to Matrix4Transit
773   * @syscap SystemCapability.ArkUI.ArkUI.Full
774   * @crossplatform
775   * @since 10
776   */
777  /**
778   * Matrix initialization function, which can return an identity matrix object.
779   *
780   * @returns { Matrix4Transit } Return to Matrix4Transit
781   * @syscap SystemCapability.ArkUI.ArkUI.Full
782   * @crossplatform
783   * @atomicservice
784   * @since 11
785   */
786  function identity(): Matrix4Transit;
787
788  /**
789   * Copy function of Matrix, which can copy a copy of the current matrix object.
790   *
791   * @returns { Matrix4Transit } Return to Matrix4Transit
792   * @syscap SystemCapability.ArkUI.ArkUI.Full
793   * @since 7
794   * @deprecated since 10
795   */
796  function copy(): Matrix4Transit;
797
798  /**
799   * The inverse function of Matrix returns an inverse matrix of the current matrix object, that is, the effect is exactly the opposite.
800   *
801   * @returns { Matrix4Transit } Return to Matrix4Transit
802   * @syscap SystemCapability.ArkUI.ArkUI.Full
803   * @since 7
804   * @deprecated since 10
805   */
806  function invert(): Matrix4Transit;
807
808  /**
809   * Matrix superposition function, which can superpose the effects of two matrices to generate a new matrix object.
810   *
811   * @param { Matrix4Transit } options
812   * @returns { Matrix4Transit } Return to Matrix4Transit
813   * @syscap SystemCapability.ArkUI.ArkUI.Full
814   * @since 7
815   * @deprecated since 10
816   */
817  function combine(options: Matrix4Transit): Matrix4Transit;
818
819  /**
820   * Matrix translation function, which can add the x-axis, Y-axis, or Z-axis translation effect to the current matrix.
821   *
822   * @param { TranslateOption } options
823   * @returns { Matrix4Transit } Return to Matrix4Transit
824   * @syscap SystemCapability.ArkUI.ArkUI.Full
825   * @since 7
826   * @deprecated since 10
827   */
828  function translate(options: TranslateOption): Matrix4Transit;
829
830  /**
831   * Scaling function of the Matrix, which can add the x-axis, Y-axis, or Z-axis scaling effect to the current matrix.
832   *
833   * @param { ScaleOption } options
834   * @returns { Matrix4Transit } Return to Matrix4Transit
835   * @syscap SystemCapability.ArkUI.ArkUI.Full
836   * @since 7
837   * @deprecated since 10
838   */
839  function scale(options: ScaleOption): Matrix4Transit;
840
841  /**
842   * Rotation function of the Matrix. You can add the x-axis, Y-axis, or Z-axis rotation effect to the current matrix.
843   *
844   * @param { RotateOption } options
845   * @returns { Matrix4Transit } Return to Matrix4Transit
846   * @syscap SystemCapability.ArkUI.ArkUI.Full
847   * @since 7
848   * @deprecated since 10
849   */
850  function rotate(options: RotateOption): Matrix4Transit;
851
852  /**
853   * Matrix coordinate point conversion function, which can apply the current transformation effect to a coordinate point.
854   *
855   * @param { [number, number] } options
856   * @returns { [number, number] } Return to Matrix4Transit
857   * @syscap SystemCapability.ArkUI.ArkUI.Full
858   * @since 7
859   * @deprecated since 10
860   */
861  function transformPoint(options: [number, number]): [number, number];
862}
863
864export default matrix4;
865