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 * 19 * @interface CircleOptions 20 * @syscap SystemCapability.ArkUI.ArkUI.Full 21 * @since 7 22 */ 23/** 24 * Defines circle options for Circle component. 25 * 26 * @interface CircleOptions 27 * @syscap SystemCapability.ArkUI.ArkUI.Full 28 * @since 9 29 * @form 30 */ 31/** 32 * Defines circle options for Circle component. 33 * 34 * @interface CircleOptions 35 * @syscap SystemCapability.ArkUI.ArkUI.Full 36 * @crossplatform 37 * @since 10 38 * @form 39 */ 40/** 41 * Defines circle options for Circle component. 42 * 43 * @interface CircleOptions 44 * @syscap SystemCapability.ArkUI.ArkUI.Full 45 * @crossplatform 46 * @atomicservice 47 * @since 11 48 * @form 49 */ 50declare interface CircleOptions { 51 /** 52 * Defines the width property. 53 * 54 * @type { ?(string | number) } 55 * @syscap SystemCapability.ArkUI.ArkUI.Full 56 * @since 7 57 */ 58 /** 59 * Defines the width property. 60 * 61 * @type { ?(string | number) } 62 * @syscap SystemCapability.ArkUI.ArkUI.Full 63 * @since 9 64 * @form 65 */ 66 /** 67 * Defines the width property. 68 * 69 * @type { ?(string | number) } 70 * @syscap SystemCapability.ArkUI.ArkUI.Full 71 * @crossplatform 72 * @since 10 73 * @form 74 */ 75 /** 76 * Defines the width property. 77 * 78 * @type { ?(string | number) } 79 * @syscap SystemCapability.ArkUI.ArkUI.Full 80 * @crossplatform 81 * @atomicservice 82 * @since 11 83 * @form 84 */ 85 width?: string | number; 86 87 /** 88 * Defines the height property. 89 * 90 * @type { ?(string | number) } 91 * @syscap SystemCapability.ArkUI.ArkUI.Full 92 * @since 7 93 */ 94 /** 95 * Defines the height property. 96 * 97 * @type { ?(string | number) } 98 * @syscap SystemCapability.ArkUI.ArkUI.Full 99 * @since 9 100 * @form 101 */ 102 /** 103 * Defines the height property. 104 * 105 * @type { ?(string | number) } 106 * @syscap SystemCapability.ArkUI.ArkUI.Full 107 * @crossplatform 108 * @since 10 109 * @form 110 */ 111 /** 112 * Defines the height property. 113 * 114 * @type { ?(string | number) } 115 * @syscap SystemCapability.ArkUI.ArkUI.Full 116 * @crossplatform 117 * @atomicservice 118 * @since 11 119 * @form 120 */ 121 height?: string | number; 122} 123 124/** 125 * Defines circle component. 126 * 127 * @interface CircleInterface 128 * @syscap SystemCapability.ArkUI.ArkUI.Full 129 * @since 7 130 */ 131/** 132 * Defines circle component. 133 * 134 * @interface CircleInterface 135 * @syscap SystemCapability.ArkUI.ArkUI.Full 136 * @since 9 137 * @form 138 */ 139/** 140 * Defines circle component. 141 * 142 * @interface CircleInterface 143 * @syscap SystemCapability.ArkUI.ArkUI.Full 144 * @crossplatform 145 * @since 10 146 * @form 147 */ 148/** 149 * Defines circle component. 150 * 151 * @interface CircleInterface 152 * @syscap SystemCapability.ArkUI.ArkUI.Full 153 * @crossplatform 154 * @atomicservice 155 * @since 11 156 * @form 157 */ 158interface CircleInterface { 159 /** 160 * use new function to set the value. 161 * 162 * @param { CircleOptions } value 163 * @returns { CircleAttribute } 164 * @syscap SystemCapability.ArkUI.ArkUI.Full 165 * @since 7 166 */ 167 /** 168 * use new function to set the value. 169 * 170 * @param { CircleOptions } value 171 * @returns { CircleAttribute } 172 * @syscap SystemCapability.ArkUI.ArkUI.Full 173 * @since 9 174 * @form 175 */ 176 /** 177 * use new function to set the value. 178 * 179 * @param { CircleOptions } value 180 * @returns { CircleAttribute } 181 * @syscap SystemCapability.ArkUI.ArkUI.Full 182 * @crossplatform 183 * @since 10 184 * @form 185 */ 186 /** 187 * use new function to set the value. 188 * 189 * @param { CircleOptions } value 190 * @returns { CircleAttribute } 191 * @syscap SystemCapability.ArkUI.ArkUI.Full 192 * @crossplatform 193 * @atomicservice 194 * @since 11 195 * @form 196 */ 197 new (value?: CircleOptions): CircleAttribute; 198 199 /** 200 * Set the value.. 201 * 202 * @param { CircleOptions } value 203 * @returns { CircleAttribute } 204 * @syscap SystemCapability.ArkUI.ArkUI.Full 205 * @since 7 206 */ 207 /** 208 * Set the value.. 209 * 210 * @param { CircleOptions } value 211 * @returns { CircleAttribute } 212 * @syscap SystemCapability.ArkUI.ArkUI.Full 213 * @since 9 214 * @form 215 */ 216 /** 217 * Set the value.. 218 * 219 * @param { CircleOptions } value 220 * @returns { CircleAttribute } 221 * @syscap SystemCapability.ArkUI.ArkUI.Full 222 * @crossplatform 223 * @since 10 224 * @form 225 */ 226 /** 227 * Set the value.. 228 * 229 * @param { CircleOptions } value 230 * @returns { CircleAttribute } 231 * @syscap SystemCapability.ArkUI.ArkUI.Full 232 * @crossplatform 233 * @atomicservice 234 * @since 11 235 * @form 236 */ 237 (value?: CircleOptions): CircleAttribute; 238} 239 240/** 241 * Circle drawing component attribute functions. 242 * 243 * @extends CommonShapeMethod<CircleAttribute> 244 * @syscap SystemCapability.ArkUI.ArkUI.Full 245 * @since 7 246 */ 247/** 248 * Circle drawing component attribute functions. 249 * 250 * @extends CommonShapeMethod<CircleAttribute> 251 * @syscap SystemCapability.ArkUI.ArkUI.Full 252 * @since 9 253 * @form 254 */ 255/** 256 * Circle drawing component attribute functions. 257 * 258 * @extends CommonShapeMethod<CircleAttribute> 259 * @syscap SystemCapability.ArkUI.ArkUI.Full 260 * @crossplatform 261 * @since 10 262 * @form 263 */ 264/** 265 * Circle drawing component attribute functions. 266 * 267 * @extends CommonShapeMethod<CircleAttribute> 268 * @syscap SystemCapability.ArkUI.ArkUI.Full 269 * @crossplatform 270 * @atomicservice 271 * @since 11 272 * @form 273 */ 274declare class CircleAttribute extends CommonShapeMethod<CircleAttribute> {} 275 276/** 277 * Defines Circle Component. 278 * 279 * @syscap SystemCapability.ArkUI.ArkUI.Full 280 * @since 7 281 */ 282/** 283 * Defines Circle Component. 284 * 285 * @syscap SystemCapability.ArkUI.ArkUI.Full 286 * @since 9 287 * @form 288 */ 289/** 290 * Defines Circle Component. 291 * 292 * @syscap SystemCapability.ArkUI.ArkUI.Full 293 * @crossplatform 294 * @since 10 295 * @form 296 */ 297/** 298 * Defines Circle Component. 299 * 300 * @syscap SystemCapability.ArkUI.ArkUI.Full 301 * @crossplatform 302 * @atomicservice 303 * @since 11 304 * @form 305 */ 306declare const Circle: CircleInterface; 307 308/** 309 * Defines Circle Component instance. 310 * 311 * @syscap SystemCapability.ArkUI.ArkUI.Full 312 * @since 7 313 */ 314/** 315 * Defines Circle Component instance. 316 * 317 * @syscap SystemCapability.ArkUI.ArkUI.Full 318 * @since 9 319 * @form 320 */ 321/** 322 * Defines Circle Component instance. 323 * 324 * @syscap SystemCapability.ArkUI.ArkUI.Full 325 * @crossplatform 326 * @since 10 327 * @form 328 */ 329/** 330 * Defines Circle Component instance. 331 * 332 * @syscap SystemCapability.ArkUI.ArkUI.Full 333 * @crossplatform 334 * @atomicservice 335 * @since 11 336 * @form 337 */ 338declare const CircleInstance: CircleAttribute; 339