1import { XYGlyph, XYGlyphView, XYGlyphData } from "./xy_glyph"; 2import { LineVector, FillVector, HatchVector } from "../../core/property_mixins"; 3import * as visuals from "../../core/visuals"; 4import { ScreenArray, Rect } from "../../core/types"; 5import * as p from "../../core/properties"; 6export declare type CenterRotatableData = XYGlyphData & p.UniformsOf<CenterRotatable.Mixins> & { 7 readonly angle: p.Uniform<number>; 8 readonly width: p.Uniform<number>; 9 readonly height: p.Uniform<number>; 10 sw: ScreenArray; 11 sh: ScreenArray; 12 readonly max_width: number; 13 readonly max_height: number; 14}; 15export interface CenterRotatableView extends CenterRotatableData { 16} 17export declare abstract class CenterRotatableView extends XYGlyphView { 18 model: CenterRotatable; 19 visuals: CenterRotatable.Visuals; 20 get max_w2(): number; 21 get max_h2(): number; 22 protected _bounds({ x0, x1, y0, y1 }: Rect): Rect; 23} 24export declare namespace CenterRotatable { 25 type Attrs = p.AttrsOf<Props>; 26 type Props = XYGlyph.Props & { 27 angle: p.AngleSpec; 28 width: p.DistanceSpec; 29 height: p.DistanceSpec; 30 } & Mixins; 31 type Mixins = LineVector & FillVector & HatchVector; 32 type Visuals = XYGlyph.Visuals & { 33 line: visuals.LineVector; 34 fill: visuals.FillVector; 35 hatch: visuals.HatchVector; 36 }; 37} 38export interface CenterRotatable extends CenterRotatable.Attrs { 39} 40export declare abstract class CenterRotatable extends XYGlyph { 41 properties: CenterRotatable.Props; 42 __view_type__: CenterRotatableView; 43 constructor(attrs?: Partial<CenterRotatable.Attrs>); 44 static init_CenterRotatable(): void; 45} 46//# sourceMappingURL=center_rotatable.d.ts.map