C# Class Engine.GlobalPrimitives

Afficher le fichier Open project: Radnen/sphere-sfml

Méthodes publiques

Свойство Type Description
Target RenderTarget

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GlobalPrimitives ( ) : System

Method Details

ApplyColorMask() public static méthode

public static ApplyColorMask ( ColorInstance color ) : void
color Engine.Objects.ColorInstance
Résultat void

FilledCircle() public static méthode

public static FilledCircle ( double x, double y, double radius, ColorInstance color ) : void
x double
y double
radius double
color Engine.Objects.ColorInstance
Résultat void

GetVector() public static méthode

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

GradientCircle() public static méthode

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 [
Résultat void

GradientLine() public static méthode

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
Résultat void

GradientRectangle() public static méthode

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
Résultat void

GradientTriangle() public static méthode

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
Résultat void

Line() public static méthode

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
Résultat void

LineSeries() public static méthode

public static LineSeries ( ArrayInstance points, ColorInstance color ) : void
points Jurassic.Library.ArrayInstance
color Engine.Objects.ColorInstance
Résultat void

OutlinedCircle() public static méthode

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 [
Résultat void

OutlinedRectangle() public static méthode

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 [
Résultat void

OutlinedRectangles() public static méthode

public static OutlinedRectangles ( ArrayInstance items, ColorInstance color ) : void
items Jurassic.Library.ArrayInstance
color Engine.Objects.ColorInstance
Résultat void

Point() public static méthode

public static Point ( double x, double y, ColorInstance color ) : void
x double
y double
color Engine.Objects.ColorInstance
Résultat void

PointSeries() public static méthode

public static PointSeries ( ArrayInstance points, ColorInstance color ) : void
points Jurassic.Library.ArrayInstance
color Engine.Objects.ColorInstance
Résultat void

Polygon() public static méthode

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

Rectangle() public static méthode

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
Résultat void

Triangle() public static méthode

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
Résultat void

Property Details

Target public_oe static_oe property

public static RenderTarget Target
Résultat RenderTarget