C# Класс Core2D.Shapes.XRectangle

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

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

Метод Описание
Create ( XPoint topLeft, XPoint bottomRight, ShapeStyle style, BaseShape point, bool isStroked = true, bool isFilled = false, string text = null, string name = "" ) : XRectangle

Creates a new XRectangle instance.

Create ( double x, double y, ShapeStyle style, BaseShape point, bool isStroked = true, bool isFilled = false, string text = null, string name = "" ) : XRectangle

Creates a new XRectangle instance.

Create ( double x1, double y1, double x2, double y2, ShapeStyle style, BaseShape point, bool isStroked = true, bool isFilled = false, string text = null, string name = "" ) : XRectangle

Creates a new XRectangle instance.

Draw ( object dc, ShapeRenderer renderer, double dx, double dy, ImmutableArray db, XRecord r ) : void

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

Create() публичный статический Метод

Creates a new XRectangle instance.
public static Create ( XPoint topLeft, XPoint bottomRight, ShapeStyle style, BaseShape point, bool isStroked = true, bool isFilled = false, string text = null, string name = "" ) : XRectangle
topLeft XPoint The corner point.
bottomRight XPoint The corner point.
style Core2D.Style.ShapeStyle The shape style.
point Core2D.Shape.BaseShape The point template.
isStroked bool The flag indicating whether shape is stroked.
isFilled bool The flag indicating whether shape is filled.
text string The text string.
name string The shape name.
Результат XRectangle

Create() публичный статический Метод

Creates a new XRectangle instance.
public static Create ( double x, double y, ShapeStyle style, BaseShape point, bool isStroked = true, bool isFilled = false, string text = null, string name = "" ) : XRectangle
x double The X coordinate of and corner points.
y double The Y coordinate of and corner points.
style Core2D.Style.ShapeStyle The shape style.
point Core2D.Shape.BaseShape The point template.
isStroked bool The flag indicating whether shape is stroked.
isFilled bool The flag indicating whether shape is filled.
text string The text string.
name string The shape name.
Результат XRectangle

Create() публичный статический Метод

Creates a new XRectangle instance.
public static Create ( double x1, double y1, double x2, double y2, ShapeStyle style, BaseShape point, bool isStroked = true, bool isFilled = false, string text = null, string name = "" ) : XRectangle
x1 double The X coordinate of corner point.
y1 double The Y coordinate of corner point.
x2 double The X coordinate of corner point.
y2 double The Y coordinate of corner point.
style Core2D.Style.ShapeStyle The shape style.
point Core2D.Shape.BaseShape The point template.
isStroked bool The flag indicating whether shape is stroked.
isFilled bool The flag indicating whether shape is filled.
text string The text string.
name string The shape name.
Результат XRectangle

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

public Draw ( object dc, ShapeRenderer renderer, double dx, double dy, ImmutableArray db, XRecord r ) : void
dc object
renderer Core2D.Renderer.ShapeRenderer
dx double
dy double
db ImmutableArray
r Core2D.Data.Database.XRecord
Результат void