PenAlignment 列舉

定義

指定與假設的零寬度線條相關聯之 Pen 物件的對齊。Specifies the alignment of a Pen object in relation to the theoretical, zero-width line.

public enum class PenAlignment
public enum PenAlignment
type PenAlignment = 
Public Enum PenAlignment
繼承
PenAlignment

欄位

Center 0

指定 Pen 物件會在假設線條的中央。Specifies that the Pen object is centered over the theoretical line.

Inset 1

指定 Pen 定位在假設線條的內部。Specifies that the Pen is positioned on the inside of the theoretical line.

Left 3

指定 Pen 定位在假設線的左方。Specifies the Pen is positioned to the left of the theoretical line.

Outset 2

指定 Pen 定位在假設線的外部。Specifies the Pen is positioned on the outside of the theoretical line.

Right 4

指定 Pen 定位在假設線的右方。Specifies the Pen is positioned to the right of the theoretical line.

備註

Pen 物件具有寬度。A Pen object has width. 根據對齊值,此畫筆寬度的中心點會相對於所繪製的線條對齊。The center point of this pen width is aligned relative to the line being drawn depending on the alignment value. Pen 物件可以定位線上條內繪製,或置中于線條的中央。A Pen object can be positioned to draw inside of a line or centered over the line.

適用於