class Tessell::Kit::PaintList

Overview

复用容量:clear 只重置逻辑计数;push 先覆写物理槽位。

Defined in:

tessell/kit/painter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def [](index : Int) : PaintCmd #

[View source]
def clear : Nil #

[View source]
def clip_depth : Int32 #

裁切栈深度检查:返回未闭合的 push 数。


[View source]
def physical_size : Int32 #

[View source]
def push(cmd : PaintCmd) : Nil #

[View source]
def reserve(n : Int32) : Nil #

[View source]
def size : Int32 #

[View source]
def to_a : Array(PaintCmd) #

[View source]