struct Tessell::Input::PointerEvent

Overview

指针事件载荷:坐标 + 按钮(0=左键)。

Defined in:

tessell/input/event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Float32, y : Float32, button : Int32 = 0) #

[View source]

Instance Method Detail

def button : Int32 #

[View source]
def x : Float32 #

[View source]
def y : Float32 #

[View source]