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 * Defines circle options for Circle component. 18 * @since 7 19 */ 20/** 21 * Defines circle options for Circle component. 22 * @form 23 * @since 9 24 */ 25declare interface CircleOptions { 26 /** 27 * Defines the width property. 28 * @since 7 29 */ 30 /** 31 * Defines the width property. 32 * @form 33 * @since 9 34 */ 35 width?: string | number; 36 37 /** 38 * Defines the height property. 39 * @since 7 40 */ 41 /** 42 * Defines the height property. 43 * @form 44 * @since 9 45 */ 46 height?: string | number; 47} 48 49/** 50 * Defines circle component. 51 * @since 7 52 */ 53/** 54 * Defines circle component. 55 * @form 56 * @since 9 57 */ 58interface CircleInterface { 59 /** 60 * use new function to set the value. 61 * @since 7 62 */ 63 /** 64 * use new function to set the value. 65 * @form 66 * @since 9 67 */ 68 new (value?: CircleOptions): CircleAttribute; 69 70 /** 71 * Set the value.. 72 * @since 7 73 */ 74 /** 75 * Set the value.. 76 * @form 77 * @since 9 78 */ 79 (value?: CircleOptions): CircleAttribute; 80} 81 82/** 83 * Circle drawing component attribute functions. 84 * @since 7 85 */ 86/** 87 * Circle drawing component attribute functions. 88 * @form 89 * @since 9 90 */ 91declare class CircleAttribute extends CommonShapeMethod<CircleAttribute> {} 92 93/** 94 * Defines Circle Component. 95 * @since 7 96 */ 97/** 98 * Defines Circle Component. 99 * @form 100 * @since 9 101 */ 102declare const Circle: CircleInterface; 103 104/** 105 * Defines Circle Component instance. 106 * @since 7 107 */ 108/** 109 * Defines Circle Component instance. 110 * @form 111 * @since 9 112 */ 113declare const CircleInstance: CircleAttribute; 114