Interface Box

All Known Implementing Classes:
Box.BorderBox, Box.FigureBox, Box.ImageBox, Box.RectBox, Box.RuleBox, Box.TextBox

頁面上定位完成的繪製單位;座標以 pt 為單位、原點在頁面左上

繪製器只讀 box、不重新量測(REP-01 教訓:量測與繪製不一致會讓內容消失)。

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    儲存格任意方向框線,原點在頁面左上。
    static final record 
    Figure 的向量內容;繪製時以框裁切
    static final record 
    點陣圖片
    static final record 
    矩形;fill、stroke 皆可為 null
    static final record 
    水平線
    static final record 
    一段文字;baseline 為基線的 y