C# 클래스 Core2D.Shapes.XImage

Image shape.
상속: XText
파일 보기 프로젝트 열기: Core2D/Core2D 1 사용 예제들

공개 메소드들

메소드 설명
Create ( XPoint topLeft, XPoint bottomRight, ShapeStyle style, BaseShape point, string key, bool isStroked = false, bool isFilled = false, string text = null, string name = "" ) : XImage

Creates a new XImage instance.

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

Creates a new XImage instance.

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

Creates a new XImage instance.

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

메소드 상세

Create() 공개 정적인 메소드

Creates a new XImage instance.
public static Create ( XPoint topLeft, XPoint bottomRight, ShapeStyle style, BaseShape point, string key, bool isStroked = false, bool isFilled = false, string text = null, string name = "" ) : XImage
topLeft XPoint The corner point.
bottomRight XPoint The corner point.
style Core2D.Style.ShapeStyle The shape style.
point Core2D.Shape.BaseShape The point template.
key string The image key.
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.
리턴 XImage

Create() 공개 정적인 메소드

Creates a new XImage instance.
public static Create ( double x, double y, ShapeStyle style, BaseShape point, string key, bool isStroked = false, bool isFilled = false, string text = null, string name = "" ) : XImage
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.
key string The image key.
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.
리턴 XImage

Create() 공개 정적인 메소드

Creates a new XImage instance.
public static Create ( double x1, double y1, double x2, double y2, ShapeStyle style, BaseShape point, string key, bool isStroked = false, bool isFilled = false, string text = null, string name = "" ) : XImage
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.
key string The image key.
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.
리턴 XImage

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