* Copyright (c) 2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
class RectShape extends __RectShape__ {
constructor(options) {
super(options);
}
width(width) {
return super.width(width);
}
height(height) {
return super.height(height);
}
size(size) {
return super.size(size);
}
offset(offset) {
return super.offset(offset);
}
fill(width) {
return super.fill(width);
}
position(position) {
return super.position(position);
}
radiusWidth(rWidth) {
return super.radiusWidth(rWidth);
}
radiusHeight(rHeight) {
return super.radiusHeight(rHeight);
}
radius(radius) {
return super.radius(radius);
}
}
* Copyright (c) 2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
class CircleShape extends __CircleShape__ {
constructor(options) {
super(options);
}
width(width) {
return super.width(width);
}
height(height) {
return super.height(height);
}
size(size) {
return super.size(size);
}
offset(offset) {
return super.offset(offset);
}
fill(width) {
return super.fill(width);
}
position(position) {
return super.position(position);
}
}
* Copyright (c) 2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
class PathShape extends __PathShape__ {
constructor(options) {
super(options);
}
offset(offset) {
return super.offset(offset);
}
fill(width) {
return super.fill(width);
}
position(position) {
return super.position(position);
}
commands(commands) {
return super.commands(commands);
}
}
* Copyright (c) 2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
class EllipseShape extends __EllipseShape__ {
constructor(options) {
super(options);
}
width(width) {
return super.width(width);
}
height(height) {
return super.height(height);
}
size(size) {
return super.size(size);
}
offset(offset) {
return super.offset(offset);
}
fill(width) {
return super.fill(width);
}
position(position) {
return super.position(position);
}
}
export default { RectShape, CircleShape, PathShape, EllipseShape };