API ReferenceSandbox.UI
BorderShapeclass
The shape of a panel's border box, generalising `border-radius` from rounded corners to an arbitrary polygon or a circle. Like `border-radius`, it shapes what the panel itself paints - background, borders and hit testing - and does not clip descendants; that stays the job of `Sandbox.UI.OverflowMode`. Polygons currently support up to `Sandbox.UI.BorderShape.MaxPoints` vertices.
object→BorderShape
Methods1
Showing 1 methods
No results match this filter.
Properties7
Showing 7 properties
public Sandbox.UI.Length Sandbox.UI.BorderShape.CircleCenterX { get; set; }
public Sandbox.UI.Length Sandbox.UI.BorderShape.CircleCenterY { get; set; }
public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BorderShape.CircleRadius { get; set; }
public bool Sandbox.UI.BorderShape.IsNone { get; set; }
Returns:
bool—public Sandbox.UI.BorderShapeKind Sandbox.UI.BorderShape.Kind { get; set; }
public static Sandbox.UI.BorderShape Sandbox.UI.BorderShape.None { get; set; }
public System.Collections.Generic.IReadOnlyList`1<Sandbox.UI.BorderShapePoint> Sandbox.UI.BorderShape.Points { get; set; }
No results match this filter.