コンストラクタ
名前空間: PdfGeneratorNetFree.PdfContentItemアセンブリ: PdfGeneratorNetFree (in PdfGeneratorNetFree.dll) バージョン: 1.1.0.0
public Rect(
float x,
float y,
float width,
float height,
StrokeStyle strokeStyle = null,
FillStyle fillStyle = null,
float rx = 0f,
float ry = 0f
)
public Rect(
float x,
float y,
float width,
float height,
StrokeStyle strokeStyle = null,
FillStyle fillStyle = null,
float rx = 0f,
float ry = 0f
)
Public Sub New (
x As Single,
y As Single,
width As Single,
height As Single,
Optional strokeStyle As StrokeStyle = Nothing,
Optional fillStyle As FillStyle = Nothing,
Optional rx As Single = 0F,
Optional ry As Single = 0F
)
Public Sub New (
x As Single,
y As Single,
width As Single,
height As Single,
Optional strokeStyle As StrokeStyle = Nothing,
Optional fillStyle As FillStyle = Nothing,
Optional rx As Single = 0F,
Optional ry As Single = 0F
)
パラメーター
- x
- 型: System Single
四角形・塗りつぶしのX方向の基点
- y
- 型: System Single
四角形・塗りつぶしのY方向の基点
- width
- 型: System Single
四角形・塗りつぶしの幅
- height
- 型: System Single
四角形・塗りつぶしの高さ
- strokeStyle (Optional)
- 型: PdfGeneratorNetFree.PgnStyle StrokeStyle
四角形の枠線のスタイル(枠線が不要な場合は、nullを指定する)
- fillStyle (Optional)
- 型: PdfGeneratorNetFree.PgnStyle FillStyle
塗りつぶしのスタイル(塗りつぶしが不要な場合は、nullを指定する)
- rx (Optional)
- 型: System Single
x方向の角を丸め始める位置
- ry (Optional)
- 型: System Single
y方向の角を丸め始める位置(x方向と丸め始めの位置が同じ場合は省略可能)