C# Class NClass.DiagramEditor.GdiGraphics

Inheritance: IGraphics
Afficher le fichier Open project: gbaychev/NClass Class Usage Examples

Méthodes publiques

Méthode Description
DrawEllipse ( Pen pen, int x, int y, int width, int height ) : void
DrawImage ( Image image, Point point ) : void
DrawImage ( Image image, int x, int y ) : void
DrawLine ( Pen pen, Point pt1, Point pt2 ) : void
DrawLine ( Pen pen, int x1, int y1, int x2, int y2 ) : void
DrawLines ( Pen pen, Point points ) : void
DrawPath ( Pen pen, GraphicsPath path ) : void
DrawPolygon ( Pen pen, Point points ) : void
DrawRectangle ( Pen pen, Rectangle rect ) : void
DrawString ( string s, Font font, Brush brush, PointF point ) : void
DrawString ( string s, Font font, Brush brush, PointF point, StringFormat format ) : void
DrawString ( string s, Font font, Brush brush, RectangleF layoutRectangle ) : void
DrawString ( string s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format ) : void
FillEllipse ( Brush brush, Rectangle rect ) : void
FillEllipse ( Brush brush, int x, int y, int width, int height ) : void
FillPath ( Brush brush, GraphicsPath path ) : void
FillPolygon ( Brush brush, Point points ) : void
FillRectangle ( Brush brush, Rectangle rect ) : void
GdiGraphics ( Graphics graphics ) : System
ResetTransform ( ) : void
RotateTransform ( float angle ) : void
ScaleTransform ( float sx, float sy ) : void
SetClip ( GraphicsPath path, CombineMode combineMode ) : void
SetClip ( Rectangle rect, CombineMode combineMode ) : void
SetClip ( RectangleF rect, CombineMode combineMode ) : void
SetClip ( Region region, CombineMode combineMode ) : void
TranslateTransform ( float dx, float dy ) : void

Method Details

DrawEllipse() public méthode

public DrawEllipse ( Pen pen, int x, int y, int width, int height ) : void
pen System.Drawing.Pen
x int
y int
width int
height int
Résultat void

DrawImage() public méthode

public DrawImage ( Image image, Point point ) : void
image Image
point Point
Résultat void

DrawImage() public méthode

public DrawImage ( Image image, int x, int y ) : void
image Image
x int
y int
Résultat void

DrawLine() public méthode

public DrawLine ( Pen pen, Point pt1, Point pt2 ) : void
pen System.Drawing.Pen
pt1 Point
pt2 Point
Résultat void

DrawLine() public méthode

public DrawLine ( Pen pen, int x1, int y1, int x2, int y2 ) : void
pen System.Drawing.Pen
x1 int
y1 int
x2 int
y2 int
Résultat void

DrawLines() public méthode

public DrawLines ( Pen pen, Point points ) : void
pen System.Drawing.Pen
points Point
Résultat void

DrawPath() public méthode

public DrawPath ( Pen pen, GraphicsPath path ) : void
pen System.Drawing.Pen
path System.Drawing.Drawing2D.GraphicsPath
Résultat void

DrawPolygon() public méthode

public DrawPolygon ( Pen pen, Point points ) : void
pen System.Drawing.Pen
points Point
Résultat void

DrawRectangle() public méthode

public DrawRectangle ( Pen pen, Rectangle rect ) : void
pen System.Drawing.Pen
rect System.Drawing.Rectangle
Résultat void

DrawString() public méthode

public DrawString ( string s, Font font, Brush brush, PointF point ) : void
s string
font System.Drawing.Font
brush System.Drawing.Brush
point System.Drawing.PointF
Résultat void

DrawString() public méthode

public DrawString ( string s, Font font, Brush brush, PointF point, StringFormat format ) : void
s string
font System.Drawing.Font
brush System.Drawing.Brush
point System.Drawing.PointF
format System.Drawing.StringFormat
Résultat void

DrawString() public méthode

public DrawString ( string s, Font font, Brush brush, RectangleF layoutRectangle ) : void
s string
font System.Drawing.Font
brush System.Drawing.Brush
layoutRectangle System.Drawing.RectangleF
Résultat void

DrawString() public méthode

public DrawString ( string s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format ) : void
s string
font System.Drawing.Font
brush System.Drawing.Brush
layoutRectangle System.Drawing.RectangleF
format System.Drawing.StringFormat
Résultat void

FillEllipse() public méthode

public FillEllipse ( Brush brush, Rectangle rect ) : void
brush System.Drawing.Brush
rect System.Drawing.Rectangle
Résultat void

FillEllipse() public méthode

public FillEllipse ( Brush brush, int x, int y, int width, int height ) : void
brush System.Drawing.Brush
x int
y int
width int
height int
Résultat void

FillPath() public méthode

public FillPath ( Brush brush, GraphicsPath path ) : void
brush System.Drawing.Brush
path System.Drawing.Drawing2D.GraphicsPath
Résultat void

FillPolygon() public méthode

public FillPolygon ( Brush brush, Point points ) : void
brush System.Drawing.Brush
points Point
Résultat void

FillRectangle() public méthode

public FillRectangle ( Brush brush, Rectangle rect ) : void
brush System.Drawing.Brush
rect System.Drawing.Rectangle
Résultat void

GdiGraphics() public méthode

/// is null. ///
public GdiGraphics ( Graphics graphics ) : System
graphics System.Drawing.Graphics
Résultat System

ResetTransform() public méthode

public ResetTransform ( ) : void
Résultat void

RotateTransform() public méthode

public RotateTransform ( float angle ) : void
angle float
Résultat void

ScaleTransform() public méthode

public ScaleTransform ( float sx, float sy ) : void
sx float
sy float
Résultat void

SetClip() public méthode

public SetClip ( GraphicsPath path, CombineMode combineMode ) : void
path System.Drawing.Drawing2D.GraphicsPath
combineMode CombineMode
Résultat void

SetClip() public méthode

public SetClip ( Rectangle rect, CombineMode combineMode ) : void
rect System.Drawing.Rectangle
combineMode CombineMode
Résultat void

SetClip() public méthode

public SetClip ( RectangleF rect, CombineMode combineMode ) : void
rect System.Drawing.RectangleF
combineMode CombineMode
Résultat void

SetClip() public méthode

public SetClip ( Region region, CombineMode combineMode ) : void
region System.Drawing.Region
combineMode CombineMode
Résultat void

TranslateTransform() public méthode

public TranslateTransform ( float dx, float dy ) : void
dx float
dy float
Résultat void