Table of Contents

Class LinesProgramCustom

Namespace
ScottPlot.OpenGL.GLPrograms
Assembly
ScottPlot.OpenGL.dll

A lines program which allows customization of color and width

public class LinesProgramCustom : GLProgramBase, ILinesDrawProgram, IGLProgram, IDisposable
Inheritance
LinesProgramCustom
Implements
Inherited Members
Extension Methods

Properties

FragmentShaderSource

protected override string FragmentShaderSource { get; }

Property Value

string

GeometryShaderSource

protected override string GeometryShaderSource { get; }

Property Value

string

VertexShaderSource

protected override string VertexShaderSource { get; }

Property Value

string

Methods

SetColor(Color4)

public void SetColor(Color4 color)

Parameters

color Color4

SetLineWidth(float)

public void SetLineWidth(float lineWidth)

Parameters

lineWidth float

SetTransform(Matrix4d)

public void SetTransform(Matrix4d transform)

Parameters

transform Matrix4d

SetViewPortSize(float, float)

public void SetViewPortSize(float width, float height)

Parameters

width float
height float