PowerTools SPREAD for Windows Forms 8.0J
Paint メソッド (IBorderRotationSupport)


グラフィックデバイスインタフェース
左上の位置
左下の位置
右下の位置
右上の位置
レイアウトが右から左かどうか
罫線を上に描画するかどうか
罫線を下に描画するかどうか
罫線を右に描画するかどうか
罫線を左に描画するかどうか
斜め罫線を描画するかどうか
交差対角線の始点のX座標
交差対角線の始点のY座標
交差矩形の幅
交差矩形の高さ
配向罫線を描画します。
構文
'Declaration
 
Sub Paint( _
   ByVal g As Graphics, _
   ByVal topleft As Point, _
   ByVal bottomLeft As Point, _
   ByVal bottomRight As Point, _
   ByVal topRight As Point, _
   ByVal rightToLeft As Boolean, _
   ByVal paintTop As Boolean, _
   ByVal paintBottom As Boolean, _
   ByVal paintRight As Boolean, _
   ByVal paintLeft As Boolean, _
   ByVal diagonalUpDownPainting As Boolean, _
   ByVal xCross As Integer, _
   ByVal yCross As Integer, _
   ByVal widthCross As Integer, _
   ByVal heightCross As Integer _
) 
'使用法
 
Dim instance As IBorderRotationSupport
Dim g As Graphics
Dim topleft As Point
Dim bottomLeft As Point
Dim bottomRight As Point
Dim topRight As Point
Dim rightToLeft As Boolean
Dim paintTop As Boolean
Dim paintBottom As Boolean
Dim paintRight As Boolean
Dim paintLeft As Boolean
Dim diagonalUpDownPainting As Boolean
Dim xCross As Integer
Dim yCross As Integer
Dim widthCross As Integer
Dim heightCross As Integer
 
instance.Paint(g, topleft, bottomLeft, bottomRight, topRight, rightToLeft, paintTop, paintBottom, paintRight, paintLeft, diagonalUpDownPainting, xCross, yCross, widthCross, heightCross)
void Paint( 
   Graphics g,
   Point topleft,
   Point bottomLeft,
   Point bottomRight,
   Point topRight,
   bool rightToLeft,
   bool paintTop,
   bool paintBottom,
   bool paintRight,
   bool paintLeft,
   bool diagonalUpDownPainting,
   int xCross,
   int yCross,
   int widthCross,
   int heightCross
)

パラメータ

g
グラフィックデバイスインタフェース
topleft
左上の位置
bottomLeft
左下の位置
bottomRight
右下の位置
topRight
右上の位置
rightToLeft
レイアウトが右から左かどうか
paintTop
罫線を上に描画するかどうか
paintBottom
罫線を下に描画するかどうか
paintRight
罫線を右に描画するかどうか
paintLeft
罫線を左に描画するかどうか
diagonalUpDownPainting
斜め罫線を描画するかどうか
xCross
交差対角線の始点のX座標
yCross
交差対角線の始点のY座標
widthCross
交差矩形の幅
heightCross
交差矩形の高さ
参照

IBorderRotationSupport インタフェース
IBorderRotationSupport メンバ

 

 


© 2004-2015, GrapeCity inc. All rights reserved.