C# 클래스 Plasmoid.Extensions.GraphicsExtension

파일 보기 프로젝트 열기: mono/sysdrawing-coregraphics

공개 메소드들

메소드 설명
DrawRoundedRectangle ( this graphics, Pen pen, float x, float y, float width, float height, float radius ) : void

Draws a rounded rectangle specified by a pair of coordinates, a width, a height and the radius for the arcs that make the rounded edges.

DrawRoundedRectangle ( this graphics, Pen pen, int x, int y, int width, int height, int radius ) : void

Draws a rounded rectangle specified by a pair of coordinates, a width, a height and the radius for the arcs that make the rounded edges.

FillRoundedRectangle ( this graphics, Brush brush, float x, float y, float width, float height, float radius ) : void

Fills the interior of a rounded rectangle specified by a pair of coordinates, a width, a height and the radius for the arcs that make the rounded edges.

FillRoundedRectangle ( this graphics, Brush brush, int x, int y, int width, int height, int radius ) : void

Fills the interior of a rounded rectangle specified by a pair of coordinates, a width, a height and the radius for the arcs that make the rounded edges.

비공개 메소드들

메소드 설명
GenerateCapsule ( this graphics, RectangleF baseRect ) : GraphicsPath
GenerateRoundedRectangle ( this graphics, RectangleF rectangle, float radius ) : GraphicsPath

메소드 상세

DrawRoundedRectangle() 공개 정적인 메소드

Draws a rounded rectangle specified by a pair of coordinates, a width, a height and the radius for the arcs that make the rounded edges.
public static DrawRoundedRectangle ( this graphics, Pen pen, float x, float y, float width, float height, float radius ) : void
graphics this
pen System.Drawing.Pen
x float The x-coordinate of the upper-left corner of the rectangle to draw.
y float The y-coordinate of the upper-left corner of the rectangle to draw.
width float Width of the rectangle to draw.
height float Height of the rectangle to draw.
radius float The radius of the arc used for the rounded edges.
리턴 void

DrawRoundedRectangle() 공개 정적인 메소드

Draws a rounded rectangle specified by a pair of coordinates, a width, a height and the radius for the arcs that make the rounded edges.
public static DrawRoundedRectangle ( this graphics, Pen pen, int x, int y, int width, int height, int radius ) : void
graphics this
pen System.Drawing.Pen
x int The x-coordinate of the upper-left corner of the rectangle to draw.
y int The y-coordinate of the upper-left corner of the rectangle to draw.
width int Width of the rectangle to draw.
height int Height of the rectangle to draw.
radius int The radius of the arc used for the rounded edges.
리턴 void

FillRoundedRectangle() 공개 정적인 메소드

Fills the interior of a rounded rectangle specified by a pair of coordinates, a width, a height and the radius for the arcs that make the rounded edges.
public static FillRoundedRectangle ( this graphics, Brush brush, float x, float y, float width, float height, float radius ) : void
graphics this
brush System.Drawing.Brush System.Drawing.Brush that determines the characteristics of the fill.
x float The x-coordinate of the upper-left corner of the rectangle to fill.
y float The y-coordinate of the upper-left corner of the rectangle to fill.
width float Width of the rectangle to fill.
height float Height of the rectangle to fill.
radius float The radius of the arc used for the rounded edges.
리턴 void

FillRoundedRectangle() 공개 정적인 메소드

Fills the interior of a rounded rectangle specified by a pair of coordinates, a width, a height and the radius for the arcs that make the rounded edges.
public static FillRoundedRectangle ( this graphics, Brush brush, int x, int y, int width, int height, int radius ) : void
graphics this
brush System.Drawing.Brush System.Drawing.Brush that determines the characteristics of the fill.
x int The x-coordinate of the upper-left corner of the rectangle to fill.
y int The y-coordinate of the upper-left corner of the rectangle to fill.
width int Width of the rectangle to fill.
height int Height of the rectangle to fill.
radius int The radius of the arc used for the rounded edges.
리턴 void