C# Class System.Drawing.Drawing2D.GraphicsPath

Inheritance: MarshalByRefObject, ICloneable, IDisposable
Afficher le fichier Open project: mono/sysdrawing-coregraphics Class Usage Examples

Méthodes publiques

Méthode Description
AddArc ( Rectangle rect, float start_angle, float sweep_angle ) : void
AddArc ( RectangleF rect, float start_angle, float sweep_angle ) : void
AddArc ( float x, float y, float width, float height, float start_angle, float sweep_angle ) : void
AddArc ( int x, int y, int width, int height, float start_angle, float sweep_angle ) : void
AddBezier ( Point pt1, Point pt2, Point pt3, Point pt4 ) : void
AddBezier ( PointF pt1, PointF pt2, PointF pt3, PointF pt4 ) : void
AddBezier ( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4 ) : void
AddBezier ( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4 ) : void
AddBeziers ( ) : void
AddClosedCurve ( Point points ) : void
AddClosedCurve ( Point points, float tension ) : void
AddClosedCurve ( PointF points ) : void
AddClosedCurve ( PointF points, float tension ) : void
AddCurve ( Point points ) : void
AddCurve ( Point points, float tension ) : void
AddCurve ( Point points, int offset, int numberOfSegments, float tension ) : void
AddCurve ( PointF points ) : void
AddCurve ( PointF points, float tension ) : void
AddCurve ( PointF points, int offset, int numberOfSegments, float tension ) : void
AddEllipse ( Rectangle rect ) : void
AddEllipse ( RectangleF rect ) : void
AddEllipse ( float x, float y, float width, float height ) : void
AddEllipse ( int x, int y, int width, int height ) : void
AddLine ( Point pt1, Point pt2 ) : void
AddLine ( PointF pt1, PointF pt2 ) : void
AddLine ( float x1, float y1, float x2, float y2 ) : void
AddLine ( int x1, int y1, int x2, int y2 ) : void
AddLines ( Point points ) : void
AddLines ( PointF points ) : void
AddPath ( GraphicsPath addingPath, bool connect ) : void
AddPie ( Rectangle rect, float startAngle, float sweepAngle ) : void
AddPie ( float x, float y, float width, float height, float startAngle, float sweepAngle ) : void
AddPie ( int x, int y, int width, int height, float startAngle, float sweepAngle ) : void
AddPolygon ( Point points ) : void
AddPolygon ( PointF points ) : void
AddRectangle ( Rectangle rect ) : void
AddRectangle ( RectangleF rect ) : void
AddRectangles ( Rectangle rects ) : void
AddRectangles ( RectangleF rects ) : void
AddString ( string s, FontFamily family, int style, float emSize, Point origin, StringFormat format ) : void
AddString ( string s, FontFamily family, int style, float emSize, PointF origin, StringFormat format ) : void
AddString ( string s, FontFamily family, int style, float emSize, Rectangle layoutRect, StringFormat format ) : void
AddString ( string s, FontFamily family, int style, float emSize, RectangleF layoutRect, StringFormat format ) : void
ClearMarkers ( ) : void
Clone ( ) : object
CloseAllFigures ( ) : void
CloseFigure ( ) : void
Dispose ( ) : void
Flatten ( ) : void
Flatten ( Matrix matrix ) : void
Flatten ( Matrix matrix, float flatness ) : void
GetBounds ( ) : RectangleF
GetBounds ( Matrix matrix ) : RectangleF
GetBounds ( Matrix matrix, Pen pen ) : RectangleF
GetLastPoint ( ) : PointF
GraphicsPath ( ) : CoreGraphics
GraphicsPath ( FillMode fillMode ) : CoreGraphics
GraphicsPath ( Point pts, byte types ) : CoreGraphics
GraphicsPath ( Point pts, byte types, FillMode fillMode ) : CoreGraphics
GraphicsPath ( PointF pts, byte types ) : CoreGraphics
GraphicsPath ( PointF pts, byte types, FillMode fillMode ) : CoreGraphics
IsOutlineVisible ( Point point, Pen pen ) : bool
IsOutlineVisible ( Point pt, Pen pen, Graphics graphics ) : bool
IsOutlineVisible ( PointF point, Pen pen ) : bool
IsOutlineVisible ( PointF pt, Pen pen, Graphics graphics ) : bool
IsOutlineVisible ( float x, float y, Pen pen ) : bool
IsOutlineVisible ( float x, float y, Pen pen, Graphics graphics ) : bool
IsOutlineVisible ( int x, int y, Pen pen ) : bool
IsOutlineVisible ( int x, int y, Pen pen, Graphics graphics ) : bool
IsVisible ( Point point ) : bool
IsVisible ( Point point, Graphics graphics ) : bool
IsVisible ( PointF point ) : bool
IsVisible ( PointF point, Graphics graphics ) : bool
IsVisible ( float x, float y ) : bool
IsVisible ( float x, float y, Graphics graphics ) : bool
IsVisible ( int x, int y ) : bool
IsVisible ( int x, int y, Graphics graphics ) : bool
Reset ( ) : void
Reverse ( ) : void
SetMarkers ( ) : void
StartFigure ( ) : void
Transform ( Matrix matrix ) : void
Warp ( PointF destPoints, RectangleF srcRect ) : void
Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix ) : void
Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode ) : void
Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode, float flatness ) : void
Widen ( Pen pen ) : void
Widen ( Pen pen, Matrix matrix ) : void
Widen ( Pen pen, Matrix matrix, float flatness ) : void

Private Methods

Méthode Description
Append ( float x, float y, PathPointType type, bool compress ) : void
AppendArc ( bool start, float x, float y, float width, float height, float startAngle, float endAngle ) : void
AppendArcs ( float x, float y, float width, float height, float startAngle, float sweepAngle ) : void
AppendBezier ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void
AppendCurve ( PointF points, PointF tangents, int offset, int length, CurveType type ) : void
AppendPoint ( PointF point, PathPointType type, bool compress ) : void
ConvertBezierToLines ( GraphicsPath path, int index, float flatness, List flat_points, List flat_types ) : bool
FlattenPath ( GraphicsPath path, Matrix matrix, float flatness ) : int
GetFirstPointType ( ) : PathPointType
NativeDrawString ( string s, Font font, Color brush, RectangleF layoutRectangle, StringFormat stringFormat ) : void
NearZero ( float value ) : bool
PathHasCurve ( GraphicsPath path ) : bool
ReverseSubpathAndAdjustFlags ( int start, int end, List old_types, List new_types, bool &isPrevHadMarker ) : void
WidenPath ( GraphicsPath path, Pen pen, List &widePoints, List &wideTypes ) : void
buildAttributedString ( string text, Font font, Color fontColor = null ) : NSMutableAttributedString
nr_curve_flatten ( float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3, float flatness, int level, List points ) : bool

Method Details

AddArc() public méthode

public AddArc ( Rectangle rect, float start_angle, float sweep_angle ) : void
rect Rectangle
start_angle float
sweep_angle float
Résultat void

AddArc() public méthode

public AddArc ( RectangleF rect, float start_angle, float sweep_angle ) : void
rect RectangleF
start_angle float
sweep_angle float
Résultat void

AddArc() public méthode

public AddArc ( float x, float y, float width, float height, float start_angle, float sweep_angle ) : void
x float
y float
width float
height float
start_angle float
sweep_angle float
Résultat void

AddArc() public méthode

public AddArc ( int x, int y, int width, int height, float start_angle, float sweep_angle ) : void
x int
y int
width int
height int
start_angle float
sweep_angle float
Résultat void

AddBezier() public méthode

public AddBezier ( Point pt1, Point pt2, Point pt3, Point pt4 ) : void
pt1 Point
pt2 Point
pt3 Point
pt4 Point
Résultat void

AddBezier() public méthode

public AddBezier ( PointF pt1, PointF pt2, PointF pt3, PointF pt4 ) : void
pt1 PointF
pt2 PointF
pt3 PointF
pt4 PointF
Résultat void

AddBezier() public méthode

public AddBezier ( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4 ) : void
x1 float
y1 float
x2 float
y2 float
x3 float
y3 float
x4 float
y4 float
Résultat void

AddBezier() public méthode

public AddBezier ( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4 ) : void
x1 int
y1 int
x2 int
y2 int
x3 int
y3 int
x4 int
y4 int
Résultat void

AddBeziers() public méthode

public AddBeziers ( ) : void
Résultat void

AddClosedCurve() public méthode

public AddClosedCurve ( Point points ) : void
points Point
Résultat void

AddClosedCurve() public méthode

public AddClosedCurve ( Point points, float tension ) : void
points Point
tension float
Résultat void

AddClosedCurve() public méthode

public AddClosedCurve ( PointF points ) : void
points PointF
Résultat void

AddClosedCurve() public méthode

public AddClosedCurve ( PointF points, float tension ) : void
points PointF
tension float
Résultat void

AddCurve() public méthode

public AddCurve ( Point points ) : void
points Point
Résultat void

AddCurve() public méthode

public AddCurve ( Point points, float tension ) : void
points Point
tension float
Résultat void

AddCurve() public méthode

public AddCurve ( Point points, int offset, int numberOfSegments, float tension ) : void
points Point
offset int
numberOfSegments int
tension float
Résultat void

AddCurve() public méthode

public AddCurve ( PointF points ) : void
points PointF
Résultat void

AddCurve() public méthode

public AddCurve ( PointF points, float tension ) : void
points PointF
tension float
Résultat void

AddCurve() public méthode

public AddCurve ( PointF points, int offset, int numberOfSegments, float tension ) : void
points PointF
offset int
numberOfSegments int
tension float
Résultat void

AddEllipse() public méthode

public AddEllipse ( Rectangle rect ) : void
rect Rectangle
Résultat void

AddEllipse() public méthode

public AddEllipse ( RectangleF rect ) : void
rect RectangleF
Résultat void

AddEllipse() public méthode

public AddEllipse ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Résultat void

AddEllipse() public méthode

public AddEllipse ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
Résultat void

AddLine() public méthode

public AddLine ( Point pt1, Point pt2 ) : void
pt1 Point
pt2 Point
Résultat void

AddLine() public méthode

public AddLine ( PointF pt1, PointF pt2 ) : void
pt1 PointF
pt2 PointF
Résultat void

AddLine() public méthode

public AddLine ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
Résultat void

AddLine() public méthode

public AddLine ( int x1, int y1, int x2, int y2 ) : void
x1 int
y1 int
x2 int
y2 int
Résultat void

AddLines() public méthode

public AddLines ( Point points ) : void
points Point
Résultat void

AddLines() public méthode

public AddLines ( PointF points ) : void
points PointF
Résultat void

AddPath() public méthode

public AddPath ( GraphicsPath addingPath, bool connect ) : void
addingPath GraphicsPath
connect bool
Résultat void

AddPie() public méthode

public AddPie ( Rectangle rect, float startAngle, float sweepAngle ) : void
rect Rectangle
startAngle float
sweepAngle float
Résultat void

AddPie() public méthode

public AddPie ( float x, float y, float width, float height, float startAngle, float sweepAngle ) : void
x float
y float
width float
height float
startAngle float
sweepAngle float
Résultat void

AddPie() public méthode

public AddPie ( int x, int y, int width, int height, float startAngle, float sweepAngle ) : void
x int
y int
width int
height int
startAngle float
sweepAngle float
Résultat void

AddPolygon() public méthode

public AddPolygon ( Point points ) : void
points Point
Résultat void

AddPolygon() public méthode

public AddPolygon ( PointF points ) : void
points PointF
Résultat void

AddRectangle() public méthode

public AddRectangle ( Rectangle rect ) : void
rect Rectangle
Résultat void

AddRectangle() public méthode

public AddRectangle ( RectangleF rect ) : void
rect RectangleF
Résultat void

AddRectangles() public méthode

public AddRectangles ( Rectangle rects ) : void
rects Rectangle
Résultat void

AddRectangles() public méthode

public AddRectangles ( RectangleF rects ) : void
rects RectangleF
Résultat void

AddString() public méthode

public AddString ( string s, FontFamily family, int style, float emSize, Point origin, StringFormat format ) : void
s string
family FontFamily
style int
emSize float
origin Point
format StringFormat
Résultat void

AddString() public méthode

public AddString ( string s, FontFamily family, int style, float emSize, PointF origin, StringFormat format ) : void
s string
family FontFamily
style int
emSize float
origin PointF
format StringFormat
Résultat void

AddString() public méthode

public AddString ( string s, FontFamily family, int style, float emSize, Rectangle layoutRect, StringFormat format ) : void
s string
family FontFamily
style int
emSize float
layoutRect Rectangle
format StringFormat
Résultat void

AddString() public méthode

public AddString ( string s, FontFamily family, int style, float emSize, RectangleF layoutRect, StringFormat format ) : void
s string
family FontFamily
style int
emSize float
layoutRect RectangleF
format StringFormat
Résultat void

ClearMarkers() public méthode

public ClearMarkers ( ) : void
Résultat void

Clone() public méthode

public Clone ( ) : object
Résultat object

CloseAllFigures() public méthode

public CloseAllFigures ( ) : void
Résultat void

CloseFigure() public méthode

public CloseFigure ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Flatten() public méthode

public Flatten ( ) : void
Résultat void

Flatten() public méthode

public Flatten ( Matrix matrix ) : void
matrix Matrix
Résultat void

Flatten() public méthode

public Flatten ( Matrix matrix, float flatness ) : void
matrix Matrix
flatness float
Résultat void

GetBounds() public méthode

public GetBounds ( ) : RectangleF
Résultat RectangleF

GetBounds() public méthode

public GetBounds ( Matrix matrix ) : RectangleF
matrix Matrix
Résultat RectangleF

GetBounds() public méthode

public GetBounds ( Matrix matrix, Pen pen ) : RectangleF
matrix Matrix
pen Pen
Résultat RectangleF

GetLastPoint() public méthode

public GetLastPoint ( ) : PointF
Résultat PointF

GraphicsPath() public méthode

public GraphicsPath ( ) : CoreGraphics
Résultat CoreGraphics

GraphicsPath() public méthode

public GraphicsPath ( FillMode fillMode ) : CoreGraphics
fillMode FillMode
Résultat CoreGraphics

GraphicsPath() public méthode

public GraphicsPath ( Point pts, byte types ) : CoreGraphics
pts Point
types byte
Résultat CoreGraphics

GraphicsPath() public méthode

public GraphicsPath ( Point pts, byte types, FillMode fillMode ) : CoreGraphics
pts Point
types byte
fillMode FillMode
Résultat CoreGraphics

GraphicsPath() public méthode

public GraphicsPath ( PointF pts, byte types ) : CoreGraphics
pts PointF
types byte
Résultat CoreGraphics

GraphicsPath() public méthode

public GraphicsPath ( PointF pts, byte types, FillMode fillMode ) : CoreGraphics
pts PointF
types byte
fillMode FillMode
Résultat CoreGraphics

IsOutlineVisible() public méthode

public IsOutlineVisible ( Point point, Pen pen ) : bool
point Point
pen Pen
Résultat bool

IsOutlineVisible() public méthode

public IsOutlineVisible ( Point pt, Pen pen, Graphics graphics ) : bool
pt Point
pen Pen
graphics Graphics
Résultat bool

IsOutlineVisible() public méthode

public IsOutlineVisible ( PointF point, Pen pen ) : bool
point PointF
pen Pen
Résultat bool

IsOutlineVisible() public méthode

public IsOutlineVisible ( PointF pt, Pen pen, Graphics graphics ) : bool
pt PointF
pen Pen
graphics Graphics
Résultat bool

IsOutlineVisible() public méthode

public IsOutlineVisible ( float x, float y, Pen pen ) : bool
x float
y float
pen Pen
Résultat bool

IsOutlineVisible() public méthode

public IsOutlineVisible ( float x, float y, Pen pen, Graphics graphics ) : bool
x float
y float
pen Pen
graphics Graphics
Résultat bool

IsOutlineVisible() public méthode

public IsOutlineVisible ( int x, int y, Pen pen ) : bool
x int
y int
pen Pen
Résultat bool

IsOutlineVisible() public méthode

public IsOutlineVisible ( int x, int y, Pen pen, Graphics graphics ) : bool
x int
y int
pen Pen
graphics Graphics
Résultat bool

IsVisible() public méthode

public IsVisible ( Point point ) : bool
point Point
Résultat bool

IsVisible() public méthode

public IsVisible ( Point point, Graphics graphics ) : bool
point Point
graphics Graphics
Résultat bool

IsVisible() public méthode

public IsVisible ( PointF point ) : bool
point PointF
Résultat bool

IsVisible() public méthode

public IsVisible ( PointF point, Graphics graphics ) : bool
point PointF
graphics Graphics
Résultat bool

IsVisible() public méthode

public IsVisible ( float x, float y ) : bool
x float
y float
Résultat bool

IsVisible() public méthode

public IsVisible ( float x, float y, Graphics graphics ) : bool
x float
y float
graphics Graphics
Résultat bool

IsVisible() public méthode

public IsVisible ( int x, int y ) : bool
x int
y int
Résultat bool

IsVisible() public méthode

public IsVisible ( int x, int y, Graphics graphics ) : bool
x int
y int
graphics Graphics
Résultat bool

Reset() public méthode

public Reset ( ) : void
Résultat void

Reverse() public méthode

public Reverse ( ) : void
Résultat void

SetMarkers() public méthode

public SetMarkers ( ) : void
Résultat void

StartFigure() public méthode

public StartFigure ( ) : void
Résultat void

Transform() public méthode

public Transform ( Matrix matrix ) : void
matrix Matrix
Résultat void

Warp() public méthode

public Warp ( PointF destPoints, RectangleF srcRect ) : void
destPoints PointF
srcRect RectangleF
Résultat void

Warp() public méthode

public Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix ) : void
destPoints PointF
srcRect RectangleF
matrix Matrix
Résultat void

Warp() public méthode

public Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode ) : void
destPoints PointF
srcRect RectangleF
matrix Matrix
warpMode WarpMode
Résultat void

Warp() public méthode

public Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode, float flatness ) : void
destPoints PointF
srcRect RectangleF
matrix Matrix
warpMode WarpMode
flatness float
Résultat void

Widen() public méthode

public Widen ( Pen pen ) : void
pen Pen
Résultat void

Widen() public méthode

public Widen ( Pen pen, Matrix matrix ) : void
pen Pen
matrix Matrix
Résultat void

Widen() public méthode

public Widen ( Pen pen, Matrix matrix, float flatness ) : void
pen Pen
matrix Matrix
flatness float
Résultat void