public Rectangle this [UISkinOrientation o] { get { return(Box[(int)o]); } }
public Vector2 Measure(UIElementType type, UISkinOrientation orientation) { if (!Types.ContainsKey(type)) { return(new Vector2(0, 0)); } UISkinElement e = Types[type]; return(new Vector2(e[orientation].Width, e[orientation].Height)); }
public void Set(UISkinOrientation o, Rectangle r) { Box[(int)o] = r; }
public Rectangle this[UISkinOrientation o] { get { return Box[(int)o]; } }
public Vector2 Measure(UIElementType type, UISkinOrientation orientation) { if (!Types.ContainsKey(type)) return new Vector2(0, 0); UISkinElement e = Types[type]; return new Vector2(e[orientation].Width, e[orientation].Height); }