FarPoint.Win アセンブリ > FarPoint.Win 名前空間 > ComplexBorder クラス > ComplexBorder コンストラクタ : ComplexBorder コンストラクタ(ComplexBorderSide,ComplexBorderSide,ComplexBorderSide,ComplexBorderSide) |
'Declaration Public Function New( _ ByVal left As ComplexBorderSide, _ ByVal top As ComplexBorderSide, _ ByVal right As ComplexBorderSide, _ ByVal bottom As ComplexBorderSide _ )
'使用法 Dim left As ComplexBorderSide Dim top As ComplexBorderSide Dim right As ComplexBorderSide Dim bottom As ComplexBorderSide Dim instance As New ComplexBorder(left, top, right, bottom)
public ComplexBorder( ComplexBorderSide left, ComplexBorderSide top, ComplexBorderSide right, ComplexBorderSide bottom )
FarPoint.Win.ComplexBorderSide topborder = new FarPoint.Win.ComplexBorderSide(Color.Black, 1.0); FarPoint.Win.ComplexBorderSide leftborder = new FarPoint.Win.ComplexBorderSide(Color.Black, 1.0); FarPoint.Win.ComplexBorderSide rightborder = new FarPoint.Win.ComplexBorderSide(Color.Black, 1.0); FarPoint.Win.ComplexBorderSide bottomborder = new FarPoint.Win.ComplexBorderSide(Color.Black, 3, System.Drawing.Drawing2D.DashStyle.Solid, null, new float[] {0f, 0.33f, 0.66f, 1f}); FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(leftborder, topborder, rightborder, bottomborder);
Dim topborder As New FarPoint.Win.ComplexBorderSide(Color.Black, 1.0) Dim leftborder As New FarPoint.Win.ComplexBorderSide(Color.Black, 1.0) Dim rightborder As New FarPoint.Win.ComplexBorderSide(Color.Black, 1.0) Dim bottomborder As New FarPoint.Win.ComplexBorderSide(Color.Black, 3, System.Drawing.Drawing2D.DashStyle.Solid, Nothing, New Single() {0, 0.33, 0.66, 1}) Dim bord As New FarPoint.Win.ComplexBorder(leftborder, topborder, rightborder, bottomborder)