C# Класс CrossUI.Drawing.DrawingTargetSplitter

Наследование: IDrawingTarget
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Arc ( Rectangle rectangle, double start, double stop ) : void
Bezier ( CubicBezier bezier ) : void
Dispose ( ) : void
DrawingTargetSplitter ( IDrawingBackend backend, IDrawingState state, IDrawingTransform transform, IGeometryFigures figures, IDrawingElements elements, ITextMeasurements measurements, IDrawingTargetBitmap bitmap, IReportingTarget reporting, System.Action disposer ) : System
Ellipse ( Rectangle rectangle ) : void
Fill ( System.Color color = null ) : void
Font ( string name = null, FontWeight weight = null, FontStyle style = null ) : void
Geometry ( IGeometry geometry ) : void
Line ( Point p1, Point p2 ) : void
MeasureText ( string text, double maxWidth = Double.PositiveInfinity, double maxHeight = Double.PositiveInfinity ) : TextSize
NoFill ( ) : void
NoPixelAlign ( ) : void
NoStroke ( ) : void
PixelAlign ( ) : void
Polygon ( Point points ) : void
Rectangle ( Rectangle rectangle ) : void
Report ( string text ) : void
RestoreState ( ) : void
RestoreTransform ( ) : void
Rotate ( double radians, double centerX = null, double centerY = null ) : void
RoundedRectangle ( Rectangle rectangle, Size cornerRadius ) : void
SaveState ( ) : void
SaveTransform ( ) : void
Scale ( double sx, double sy, double centerX = null, double centerY = null ) : void
Stroke ( System.Color color = null, double weight = null, StrokeAlignment alignment = null ) : void
Text ( double size = null, System.Color color = null, TextAlignment alignment = null, ParagraphAlignment paragraphAlignment = null, WordWrapping wordWrapping = null ) : void
Text ( string text, Rectangle rectangle ) : void
Translate ( double dx, double dy ) : void

Описание методов

Arc() публичный Метод

public Arc ( Rectangle rectangle, double start, double stop ) : void
rectangle Rectangle
start double
stop double
Результат void

Bezier() публичный Метод

public Bezier ( CubicBezier bezier ) : void
bezier CubicBezier
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

DrawingTargetSplitter() публичный Метод

public DrawingTargetSplitter ( IDrawingBackend backend, IDrawingState state, IDrawingTransform transform, IGeometryFigures figures, IDrawingElements elements, ITextMeasurements measurements, IDrawingTargetBitmap bitmap, IReportingTarget reporting, System.Action disposer ) : System
backend IDrawingBackend
state IDrawingState
transform IDrawingTransform
figures IGeometryFigures
elements IDrawingElements
measurements ITextMeasurements
bitmap IDrawingTargetBitmap
reporting IReportingTarget
disposer System.Action
Результат System

Ellipse() публичный Метод

public Ellipse ( Rectangle rectangle ) : void
rectangle Rectangle
Результат void

Fill() публичный Метод

public Fill ( System.Color color = null ) : void
color System.Color
Результат void

Font() публичный Метод

public Font ( string name = null, FontWeight weight = null, FontStyle style = null ) : void
name string
weight FontWeight
style FontStyle
Результат void

Geometry() публичный Метод

public Geometry ( IGeometry geometry ) : void
geometry IGeometry
Результат void

Line() публичный Метод

public Line ( Point p1, Point p2 ) : void
p1 Point
p2 Point
Результат void

MeasureText() публичный Метод

public MeasureText ( string text, double maxWidth = Double.PositiveInfinity, double maxHeight = Double.PositiveInfinity ) : TextSize
text string
maxWidth double
maxHeight double
Результат TextSize

NoFill() публичный Метод

public NoFill ( ) : void
Результат void

NoPixelAlign() публичный Метод

public NoPixelAlign ( ) : void
Результат void

NoStroke() публичный Метод

public NoStroke ( ) : void
Результат void

PixelAlign() публичный Метод

public PixelAlign ( ) : void
Результат void

Polygon() публичный Метод

public Polygon ( Point points ) : void
points Point
Результат void

Rectangle() публичный Метод

public Rectangle ( Rectangle rectangle ) : void
rectangle Rectangle
Результат void

Report() публичный Метод

public Report ( string text ) : void
text string
Результат void

RestoreState() публичный Метод

public RestoreState ( ) : void
Результат void

RestoreTransform() публичный Метод

public RestoreTransform ( ) : void
Результат void

Rotate() публичный Метод

public Rotate ( double radians, double centerX = null, double centerY = null ) : void
radians double
centerX double
centerY double
Результат void

RoundedRectangle() публичный Метод

public RoundedRectangle ( Rectangle rectangle, Size cornerRadius ) : void
rectangle Rectangle
cornerRadius Size
Результат void

SaveState() публичный Метод

public SaveState ( ) : void
Результат void

SaveTransform() публичный Метод

public SaveTransform ( ) : void
Результат void

Scale() публичный Метод

public Scale ( double sx, double sy, double centerX = null, double centerY = null ) : void
sx double
sy double
centerX double
centerY double
Результат void

Stroke() публичный Метод

public Stroke ( System.Color color = null, double weight = null, StrokeAlignment alignment = null ) : void
color System.Color
weight double
alignment StrokeAlignment
Результат void

Text() публичный Метод

public Text ( double size = null, System.Color color = null, TextAlignment alignment = null, ParagraphAlignment paragraphAlignment = null, WordWrapping wordWrapping = null ) : void
size double
color System.Color
alignment TextAlignment
paragraphAlignment ParagraphAlignment
wordWrapping WordWrapping
Результат void

Text() публичный Метод

public Text ( string text, Rectangle rectangle ) : void
text string
rectangle Rectangle
Результат void

Translate() публичный Метод

public Translate ( double dx, double dy ) : void
dx double
dy double
Результат void