@babylonjs/gui
Version:
Babylon.js GUI module =====================
26 lines (25 loc) • 1.07 kB
TypeScript
import { Container } from "./container.js";
import type { Measure } from "../measure.js";
import type { ICanvasRenderingContext } from "@babylonjs/core/Engines/ICanvas.js";
/** Class used to create 2D ellipse containers */
export declare class Ellipse extends Container {
name?: string | undefined;
private _thickness;
/** Gets or sets border thickness */
get thickness(): number;
set thickness(value: number);
private _arc;
/** Gets or sets arcing of the ellipse (ratio of the circumference between 0 and 1) */
get arc(): number;
set arc(value: number);
/**
* Creates a new Ellipse
* @param name defines the control name
*/
constructor(name?: string | undefined);
protected _getTypeName(): string;
protected _localDraw(context: ICanvasRenderingContext): void;
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
protected _clipForChildren(context: ICanvasRenderingContext): void;
_renderHighlightSpecific(context: ICanvasRenderingContext): void;
}