1/* 2 * Copyright (c) 2024 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 */ 15class RectShape extends __RectShape__ { 16 constructor(options) { 17 super(options); 18 } 19 width(width) { 20 return super.width(width); 21 } 22 height(height) { 23 return super.height(height); 24 } 25 size(size) { 26 return super.size(size); 27 } 28 offset(offset) { 29 return super.offset(offset); 30 } 31 fill(width) { 32 return super.fill(width); 33 } 34 position(position) { 35 return super.position(position); 36 } 37 radiusWidth(rWidth) { 38 return super.radiusWidth(rWidth); 39 } 40 radiusHeight(rHeight) { 41 return super.radiusHeight(rHeight); 42 } 43 radius(radius) { 44 return super.radius(radius); 45 } 46} 47/* 48 * Copyright (c) 2024 Huawei Device Co., Ltd. 49 * Licensed under the Apache License, Version 2.0 (the "License"); 50 * you may not use this file except in compliance with the License. 51 * You may obtain a copy of the License at 52 * 53 * http://www.apache.org/licenses/LICENSE-2.0 54 * 55 * Unless required by applicable law or agreed to in writing, software 56 * distributed under the License is distributed on an "AS IS" BASIS, 57 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 58 * See the License for the specific language governing permissions and 59 * limitations under the License. 60 */ 61class CircleShape extends __CircleShape__ { 62 constructor(options) { 63 super(options); 64 } 65 width(width) { 66 return super.width(width); 67 } 68 height(height) { 69 return super.height(height); 70 } 71 size(size) { 72 return super.size(size); 73 } 74 offset(offset) { 75 return super.offset(offset); 76 } 77 fill(width) { 78 return super.fill(width); 79 } 80 position(position) { 81 return super.position(position); 82 } 83} 84/* 85 * Copyright (c) 2024 Huawei Device Co., Ltd. 86 * Licensed under the Apache License, Version 2.0 (the "License"); 87 * you may not use this file except in compliance with the License. 88 * You may obtain a copy of the License at 89 * 90 * http://www.apache.org/licenses/LICENSE-2.0 91 * 92 * Unless required by applicable law or agreed to in writing, software 93 * distributed under the License is distributed on an "AS IS" BASIS, 94 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 95 * See the License for the specific language governing permissions and 96 * limitations under the License. 97 */ 98class PathShape extends __PathShape__ { 99 constructor(options) { 100 super(options); 101 } 102 offset(offset) { 103 return super.offset(offset); 104 } 105 fill(width) { 106 return super.fill(width); 107 } 108 position(position) { 109 return super.position(position); 110 } 111 commands(commands) { 112 return super.commands(commands); 113 } 114} 115/* 116 * Copyright (c) 2024 Huawei Device Co., Ltd. 117 * Licensed under the Apache License, Version 2.0 (the "License"); 118 * you may not use this file except in compliance with the License. 119 * You may obtain a copy of the License at 120 * 121 * http://www.apache.org/licenses/LICENSE-2.0 122 * 123 * Unless required by applicable law or agreed to in writing, software 124 * distributed under the License is distributed on an "AS IS" BASIS, 125 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 126 * See the License for the specific language governing permissions and 127 * limitations under the License. 128 */ 129class EllipseShape extends __EllipseShape__ { 130 constructor(options) { 131 super(options); 132 } 133 width(width) { 134 return super.width(width); 135 } 136 height(height) { 137 return super.height(height); 138 } 139 size(size) { 140 return super.size(size); 141 } 142 offset(offset) { 143 return super.offset(offset); 144 } 145 fill(width) { 146 return super.fill(width); 147 } 148 position(position) { 149 return super.position(position); 150 } 151} 152 153export default { RectShape, CircleShape, PathShape, EllipseShape }; 154