메소드 | 설명 | |
---|---|---|
DrawBorder ( Color color, CssSide border, |
Draw simple border.
|
|
DrawBorder ( CssSide border, |
||
DrawBoxBorders ( |
Draws all the border of the box with respect to style, width, etc.
|
메소드 | 설명 | |
---|---|---|
Darken ( Color c ) : Color |
Makes the specified color darker for inset/outset borders.
|
|
DrawBorder ( CssSide borderSide, |
Draw specific border (top/bottom/left/right) with the box data (style/width/rounded).
|
|
GetBorderBorderDrawingInfo ( |
||
GetPen ( |
Get pen to be used for border draw respecting its style.
|
|
GetRoundedBorderPath ( |
Makes a border path for rounded borders.
|
|
SetInOutsetRectanglePoints ( CssSide border, |
Set rectangle for inset/outset border as it need diagonal connection to other borders.
|
public static DrawBorder ( Color color, CssSide border, |
||
color | Color | |
border | CssSide | Desired border |
borderPts | ||
g | the device to draw to | |
box | Box which the border corresponds | |
rectangle | the bounding rectangle to draw in | |
리턴 | void |
public static DrawBorder ( CssSide border, |
||
border | CssSide | |
borderPts | ||
g | ||
box | ||
solidColor | Color | |
rectangle | ||
리턴 | void |
public static DrawBoxBorders ( |
||
p | ||
box | the box to draw borders for | |
rect | the bounding rectangle to draw in | |
isFirst | bool | is it the first rectangle of the element |
isLast | bool | is it the last rectangle of the element |
리턴 | void |