struct WGPU::Rectangle

Defined in:

wgpu.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : UInt32, y : UInt32, width : UInt32, height : UInt32) #

[View source]

Instance Method Detail

def bottom #

[View source]
def clone #

[View source]
def copy_with(x _x = @x, y _y = @y, width _width = @width, height _height = @height) #

[View source]
def height : UInt32 #

def left #

[View source]
def right #

[View source]
def top #

[View source]
def width : UInt32 #

def x : UInt32 #

def y : UInt32 #