Api Sandbox UI SvgPanel
class

SvgPanel

public class SvgPanel : Panel

A generic panel that draws an SVG scaled to size

Constructors

SvgPanel()

Properties

Name Type Description
Src String Content path to the SVG file
Color String Optional color to draw the SVG with
HasContent virtual Boolean

Methods

virtual Void FinalLayout(Vector2 offset)
Assembly: Sandbox.Engine Namespace: Sandbox.UI Full Name: Sandbox.UI.SvgPanel