コード例 #1
0
 public Scrollbar(int x, int y, int width, int height, int contentSize, float scroll = 0, bool vertical = true)
     : base(x, y, width, height, contentSize, scroll, vertical)
 {
     Draggable = new DynamicRectangle(X, Y, Width, Height, Color.White, Color.Gray, Width, false, false);
 }