@aurigma/design-atoms-model
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
13 lines (12 loc) • 388 B
TypeScript
import { RectangleF, SizeF } from "../../Math/index";
export declare class CornerRadiusConverter {
private _rectangle;
private _dpi;
constructor(rectangle: RectangleF, dpi: number);
convert(radiusString: string): SizeF[];
private _normalize;
private _combineRadiuses;
private _getRadiuses;
private _tryParseNumberPart;
private _toPoints;
}