@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.
36 lines (35 loc) • 1.29 kB
TypeScript
import { Color } from "../../Colors";
import { INotifyPropertyChanged } from "../../INotifyPropertyChanged";
import { EventWithSenderArg } from "../../EventObject";
export declare class ShadowSettings implements INotifyPropertyChanged<ShadowSettings, string> {
private _color;
private _angle;
private _distance;
private _size;
get color(): Color;
set color(value: Color);
get angle(): number;
set angle(value: number);
get distance(): number;
set distance(value: number);
get size(): number;
set size(value: number);
constructor(object?: {
color?: Color;
angle?: number;
distance?: number;
size?: number;
});
clone(): ShadowSettings;
equals(settings: ShadowSettings): boolean;
static equals(a: ShadowSettings, b: ShadowSettings): boolean;
getSimplifiedObject(): {
color: import("../../Colors").IColor;
angle: number;
distance: number;
size: number;
};
protected _propertyChanged: EventWithSenderArg<ShadowSettings, string>;
addPropertyChanged(listener: (sender: ShadowSettings, eventArgs: string) => void): void;
removePropertyChanged(listener: (sender: ShadowSettings, eventArgs: string) => void): void;
}