Click or drag to resize
Ab4d.SharpEngine logo

RectangleNode(Color4, Single, String) Constructor

Constructor

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public RectangleNode(
	Color4 lineColor,
	float lineThickness,
	string? name = null
)

Parameters

lineColor  Color4
line color as Color4 (not alpha pre-multiplied)
lineThickness  Single
line thickness in screen-space (in pixels divided by dpi scale; e.g. lineThickness: 10 and dpiScale: 1.5 will produce actual thickness with 15 pixels)
name  String  (Optional)
optional name
See Also