Table of Contents

Class ImageRenderCore2D

Namespace
HelixToolkit.SharpDX.Core2D
Assembly
HelixToolkit.SharpDX.dll
public class ImageRenderCore2D : RenderCore2DBase, IDisposable
Inheritance
ImageRenderCore2D
Implements
Inherited Members

Properties

Bitmap

Gets or sets the bitmap.

public Bitmap? Bitmap { get; set; }

Property Value

Bitmap

The bitmap.

ImageSize

Gets or sets the size of the image.

public Vector2 ImageSize { get; }

Property Value

Vector2

The size of the image.

InterpolationMode

Gets or sets the interpolation mode.

public BitmapInterpolationMode InterpolationMode { get; set; }

Property Value

BitmapInterpolationMode

The interpolation mode.

Opacity

Gets or sets the opacity.

public float Opacity { get; set; }

Property Value

float

The opacity.

Methods

CanRender(RenderContext2D)

Determines whether this instance can render the specified context.

protected override bool CanRender(RenderContext2D context)

Parameters

context RenderContext2D

The context.

Returns

bool

true if this instance can render the specified context; otherwise, false.

OnDetach()

Called when [detach].

protected override void OnDetach()

OnRender(RenderContext2D)

Called when [render].

protected override void OnRender(RenderContext2D context)

Parameters

context RenderContext2D

The context.