Click or drag to resize

CanvasRenderer Class

Specifies a class that allows to draw 2D graphic elements.
Inheritance Hierarchy
SystemObject
  NeoAxisCanvasRenderer

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public abstract class CanvasRenderer

The CanvasRenderer type exposes the following members.

Constructors
  NameDescription
Protected methodCanvasRenderer
Initializes a new instance of the CanvasRenderer class
Top
Properties
  NameDescription
Public propertyAspectRatio
Public propertyAspectRatioInv
Public propertyDefaultFont
Gets or sets the default font.
Public propertyDefaultFontSize
Gets or sets the default font.
Public propertyIsScreen
Gets or sets value which indicates what is it renderer is screen renderer.
Public propertyViewportForScreenCanvasRenderer
Top
Methods
  NameDescription
Public methodAddEllipse(Rectangle, Int32, ColorValue)
Adds an ellipse to rendering queue.
Public methodAddEllipse(RectangleF, Int32, ColorValue)
Adds an ellipse to rendering queue.
Public methodAddFillEllipse(Rectangle, Int32, ColorValue)
Public methodAddFillEllipse(RectangleF, Int32, ColorValue)
Public methodAddFillEllipse(Rectangle, Int32, ColorValue, ImageComponent, Rectangle, Boolean)
Public methodAddFillEllipse(RectangleF, Int32, ColorValue, ImageComponent, RectangleF, Boolean)
Public methodAddLine(Vector2, Vector2, ColorValue)
Adds line to rendering queue.
Public methodAddLine(Vector2F, Vector2F, ColorValue)
Adds line to rendering queue.
Public methodAddLines(IListCanvasRendererLineItem)
Public methodAddLines(IListCanvasRendererTriangleVertex)
Public methodAddQuad(Rectangle, ColorValue)
Adds quad to rendering queue.
Public methodAddQuad(RectangleF, ColorValue)
Adds quad to rendering queue.
Public methodAddQuad(Rectangle, Rectangle, ImageComponent)
Adds quad to rendering queue.
Public methodAddQuad(RectangleF, RectangleF, ImageComponent)
Adds quad to rendering queue.
Public methodAddQuad(Rectangle, Rectangle, ImageComponent, ColorValue)
Adds quad to rendering queue.
Public methodAddQuad(RectangleF, RectangleF, ImageComponent, ColorValue)
Adds quad to rendering queue.
Public methodAddQuad(Rectangle, Rectangle, ImageComponent, ColorValue, Boolean)
Adds quad to rendering queue.
Public methodAddQuad(RectangleF, RectangleF, ImageComponent, ColorValue, Boolean)
Adds quad to rendering queue.
Public methodAddRectangle(Rectangle, ColorValue)
Adds rectangle to rendering queue.
Public methodAddRectangle(RectangleF, ColorValue)
Adds rectangle to rendering queue.
Public methodAddText(String, Vector2)
Adds text to rendering queue.
Public methodAddText(String, Vector2F)
Adds text to rendering queue.
Public methodAddText(String, Vector2, EHorizontalAlignment, EVerticalAlignment)
Adds text to rendering queue.
Public methodAddText(String, Vector2F, EHorizontalAlignment, EVerticalAlignment)
Adds text to rendering queue.
Public methodAddText(String, Vector2, EHorizontalAlignment, EVerticalAlignment, ColorValue, CanvasRendererAddTextOptions)
Adds text to rendering queue.
Public methodAddText(String, Vector2F, EHorizontalAlignment, EVerticalAlignment, ColorValue, CanvasRendererAddTextOptions)
Adds text to rendering queue.
Public methodAddText(FontComponent, Double, String, Vector2, EHorizontalAlignment, EVerticalAlignment, ColorValue, CanvasRendererAddTextOptions)
Adds text to rendering queue.
Public methodAddText(FontComponent, Double, String, Vector2F, EHorizontalAlignment, EVerticalAlignment, ColorValue, CanvasRendererAddTextOptions)
Adds text to rendering queue.
Public methodAddTextLines(IListString, Vector2, EHorizontalAlignment, EVerticalAlignment, Double, ColorValue, CanvasRendererAddTextOptions)
Adds text lines to rendering queue.
Public methodAddTextLines(IListString, Vector2F, EHorizontalAlignment, EVerticalAlignment, Single, ColorValue, CanvasRendererAddTextOptions)
Adds text lines to rendering queue.
Public methodAddTextLines(FontComponent, Double, IListString, Vector2, EHorizontalAlignment, EVerticalAlignment, Double, ColorValue, CanvasRendererAddTextOptions)
Adds text lines to rendering queue.
Public methodAddTextLines(FontComponent, Double, IListString, Vector2F, EHorizontalAlignment, EVerticalAlignment, Single, ColorValue, CanvasRendererAddTextOptions)
Adds text lines to rendering queue.
Public methodAddTextWordWrap(String, Rectangle, EHorizontalAlignment, Boolean, EVerticalAlignment, Double, ColorValue, CanvasRendererAddTextOptions)
Public methodAddTextWordWrap(String, RectangleF, EHorizontalAlignment, Boolean, EVerticalAlignment, Single, ColorValue, CanvasRendererAddTextOptions)
Public methodAddTextWordWrap(FontComponent, Double, String, Rectangle, EHorizontalAlignment, Boolean, EVerticalAlignment, Double, ColorValue, CanvasRendererAddTextOptions)
Public methodAddTextWordWrap(FontComponent, Double, String, RectangleF, EHorizontalAlignment, Boolean, EVerticalAlignment, Single, ColorValue, CanvasRendererAddTextOptions)
Public methodAddThickRectangle(Rectangle, Rectangle, ColorValue)
Public methodAddThickRectangle(RectangleF, RectangleF, ColorValue)
Public methodAddTriangles(IListCanvasRendererTriangleVertex, ImageComponent, Boolean)
Public methodAddTriangles(IListCanvasRendererTriangleVertex, IListInt32, ImageComponent, Boolean)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCurrentBlendingType
Public methodGetCurrentClipRectangle
Public methodGetCurrentColorMultiplier
Public methodGetCurrentShader
Public methodGetCurrentTextureFilteringMode
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPopBlendingType
Public methodPopClipRectangle
Public methodPopColorMultiplier
Public methodPopShader
Public methodPopTextureFilteringMode
Public methodPushBlendingType
Public methodPushClipRectangle(Rectangle)
Public methodPushClipRectangle(RectangleF)
Public methodPushColorMultiplier
Public methodPushShader
Public methodPushTextureFilteringMode
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodViewportRendering_RenderToCurrentViewport
Top
Extension Methods
See Also