class Tessell::Kit::DebugOverlay

Defined in:

tessell/kit/debug_overlay.cr

Constant Summary

LINE_HEIGHT = 14.0_f32

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def font_size : Float32 #

[View source]
def font_size=(font_size : Float32) #

[View source]
def paint(p : Painter, ctx : Context, info : DebugInfo | Nil, viewport : Rect) : Int32 #

在 viewport 右上角画面板;返回命令数(宿主可断言)。


[View source]
def toggle : Bool #

[View source]
def visible : Bool #

[View source]
def visible=(v : Bool) : Nil #

[View source]