GetMaximumFontSize(graphics, fontFamily, text, style, allowWordWrapping, maxWidth, maxHeight) MakeSemitransparentImage(width, height, initGraphics, drawOpaqueLayer, drawTransparencyLayer, transparencyFromChannel, invertTransparency)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Static method: GraphicsPath RoundedRectangle(float, float, float, float, float, bool)Declarationpublic static GraphicsPath RoundedRectangle(
float x,
float y,
float width,
float height,
float radius,
bool tolerant = false
) Summary
Returns a GraphicsPath object that represents a rounded rectangle. Parametersfloat | x |
Left edge of the rounded rectangle. | float | y |
Top edge of the rounded rectangle. | float | width |
Width of the rounded rectangle. | float | height |
Height of the rounded rectangle. | float | radius |
Radius of the rounding of each corner of the rectangle. | bool | tolerant |
If true, the radius is reduced if it is too large to fit into the specified size. Otherwise, an exception is
thrown. |
|