コード例 #1
0
ファイル: ImageControl.cs プロジェクト: preetum/archive
 public ImageControl(Vector2 location, Utilities.Size size, bool drawImage, Element parent)
     : base(location, size, parent)
 {
     Location       = location;
     ElementSize    = size;
     drawInternally = drawImage;
     Tint           = Color.White;
 }
コード例 #2
0
 public ParentedElement(Vector2 location, Utilities.Size size, Element parent)
     : base(location, size)
 {
     parent.AddChild(this);
 }