• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2021-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 * Ellipse drawing.
18 * @since 7
19 */
20/**
21 * Ellipse drawing.
22 * @form
23 * @since 9
24 */
25interface EllipseInterface {
26  /**
27   * use new function to set the value.
28   * @since 7
29   */
30  /**
31   * use new function to set the value.
32   * @form
33   * @since 9
34   */
35  new (value?: { width?: string | number; height?: string | number }): EllipseAttribute;
36
37  /**
38   * Set the value.
39   * @since 7
40   */
41  /**
42   * Set the value.
43   * @form
44   * @since 9
45   */
46  (value?: { width?: string | number; height?: string | number }): EllipseAttribute;
47}
48
49/**
50 * @since 7
51 */
52/**
53 * @form
54 * @since 9
55 */
56declare class EllipseAttribute extends CommonShapeMethod<EllipseAttribute> {}
57
58/**
59 * Defines Ellipse Component.
60 * @since 7
61 */
62/**
63 * Defines Ellipse Component.
64 * @form
65 * @since 9
66 */
67declare const Ellipse: EllipseInterface;
68
69/**
70 * Defines Ellipse Component instance.
71 * @since 7
72 */
73/**
74 * Defines Ellipse Component instance.
75 * @form
76 * @since 9
77 */
78declare const EllipseInstance: EllipseAttribute;
79