C# 클래스 Engine.GlobalPrimitives

파일 보기 프로젝트 열기: Radnen/sphere-sfml

공개 프로퍼티들

프로퍼티 타입 설명
Target RenderTarget

공개 메소드들

메소드 설명
ApplyColorMask ( ColorInstance color ) : void
FilledCircle ( double x, double y, double radius, ColorInstance color ) : void
GetVector ( ObjectInstance obj ) : Vector2f

Attempts to translate a JS object: {x: 0, y: 0} into a Vector2f point.

GradientCircle ( double x, double y, double radius, ColorInstance inner, ColorInstance outer, [ antialias = false ) : void
GradientLine ( double x1, double y1, double x2, double y2, ColorInstance color1, ColorInstance color2 ) : void
GradientRectangle ( double x, double y, double width, double height, ColorInstance c1, ColorInstance c2, ColorInstance c3, ColorInstance c4 ) : void
GradientTriangle ( ObjectInstance A, ObjectInstance B, ObjectInstance C, ColorInstance color1, ColorInstance color2, ColorInstance color3 ) : void
Line ( double x1, double y1, double x2, double y2, ColorInstance color ) : void
LineSeries ( ArrayInstance points, ColorInstance color ) : void
OutlinedCircle ( double x, double y, double radius, ColorInstance color, [ size = 1.0 ) : void
OutlinedRectangle ( double x, double y, double width, double height, ColorInstance color, [ thickness = 1.0 ) : void
OutlinedRectangles ( ArrayInstance items, ColorInstance color ) : void
Point ( double x, double y, ColorInstance color ) : void
PointSeries ( ArrayInstance points, ColorInstance color ) : void
Polygon ( ArrayInstance points, ColorInstance color, [ inverse = false ) : void
Rectangle ( double x, double y, double width, double height, ColorInstance color ) : void
Triangle ( double x1, double y1, double x2, double y2, double x3, double y3, ColorInstance color ) : void

비공개 메소드들

메소드 설명
GlobalPrimitives ( ) : System

메소드 상세

ApplyColorMask() 공개 정적인 메소드

public static ApplyColorMask ( ColorInstance color ) : void
color Engine.Objects.ColorInstance
리턴 void

FilledCircle() 공개 정적인 메소드

public static FilledCircle ( double x, double y, double radius, ColorInstance color ) : void
x double
y double
radius double
color Engine.Objects.ColorInstance
리턴 void

GetVector() 공개 정적인 메소드

Attempts to translate a JS object: {x: 0, y: 0} into a Vector2f point.
public static GetVector ( ObjectInstance obj ) : Vector2f
obj Jurassic.Library.ObjectInstance
리턴 Vector2f

GradientCircle() 공개 정적인 메소드

public static GradientCircle ( double x, double y, double radius, ColorInstance inner, ColorInstance outer, [ antialias = false ) : void
x double
y double
radius double
inner Engine.Objects.ColorInstance
outer Engine.Objects.ColorInstance
antialias [
리턴 void

GradientLine() 공개 정적인 메소드

public static GradientLine ( double x1, double y1, double x2, double y2, ColorInstance color1, ColorInstance color2 ) : void
x1 double
y1 double
x2 double
y2 double
color1 Engine.Objects.ColorInstance
color2 Engine.Objects.ColorInstance
리턴 void

GradientRectangle() 공개 정적인 메소드

public static GradientRectangle ( double x, double y, double width, double height, ColorInstance c1, ColorInstance c2, ColorInstance c3, ColorInstance c4 ) : void
x double
y double
width double
height double
c1 Engine.Objects.ColorInstance
c2 Engine.Objects.ColorInstance
c3 Engine.Objects.ColorInstance
c4 Engine.Objects.ColorInstance
리턴 void

GradientTriangle() 공개 정적인 메소드

public static GradientTriangle ( ObjectInstance A, ObjectInstance B, ObjectInstance C, ColorInstance color1, ColorInstance color2, ColorInstance color3 ) : void
A Jurassic.Library.ObjectInstance
B Jurassic.Library.ObjectInstance
C Jurassic.Library.ObjectInstance
color1 Engine.Objects.ColorInstance
color2 Engine.Objects.ColorInstance
color3 Engine.Objects.ColorInstance
리턴 void

Line() 공개 정적인 메소드

public static Line ( double x1, double y1, double x2, double y2, ColorInstance color ) : void
x1 double
y1 double
x2 double
y2 double
color Engine.Objects.ColorInstance
리턴 void

LineSeries() 공개 정적인 메소드

public static LineSeries ( ArrayInstance points, ColorInstance color ) : void
points Jurassic.Library.ArrayInstance
color Engine.Objects.ColorInstance
리턴 void

OutlinedCircle() 공개 정적인 메소드

public static OutlinedCircle ( double x, double y, double radius, ColorInstance color, [ size = 1.0 ) : void
x double
y double
radius double
color Engine.Objects.ColorInstance
size [
리턴 void

OutlinedRectangle() 공개 정적인 메소드

public static OutlinedRectangle ( double x, double y, double width, double height, ColorInstance color, [ thickness = 1.0 ) : void
x double
y double
width double
height double
color Engine.Objects.ColorInstance
thickness [
리턴 void

OutlinedRectangles() 공개 정적인 메소드

public static OutlinedRectangles ( ArrayInstance items, ColorInstance color ) : void
items Jurassic.Library.ArrayInstance
color Engine.Objects.ColorInstance
리턴 void

Point() 공개 정적인 메소드

public static Point ( double x, double y, ColorInstance color ) : void
x double
y double
color Engine.Objects.ColorInstance
리턴 void

PointSeries() 공개 정적인 메소드

public static PointSeries ( ArrayInstance points, ColorInstance color ) : void
points Jurassic.Library.ArrayInstance
color Engine.Objects.ColorInstance
리턴 void

Polygon() 공개 정적인 메소드

public static Polygon ( ArrayInstance points, ColorInstance color, [ inverse = false ) : void
points Jurassic.Library.ArrayInstance
color Engine.Objects.ColorInstance
inverse [
리턴 void

Rectangle() 공개 정적인 메소드

public static Rectangle ( double x, double y, double width, double height, ColorInstance color ) : void
x double
y double
width double
height double
color Engine.Objects.ColorInstance
리턴 void

Triangle() 공개 정적인 메소드

public static Triangle ( double x1, double y1, double x2, double y2, double x3, double y3, ColorInstance color ) : void
x1 double
y1 double
x2 double
y2 double
x3 double
y3 double
color Engine.Objects.ColorInstance
리턴 void

프로퍼티 상세

Target 공개적으로 정적으로 프로퍼티

public static RenderTarget Target
리턴 RenderTarget