Click or drag to resize

RenderBaseDrawImageHelper Method

Helper routine to draw an image taking into account various properties.

Namespace: Internal.ComponentFactory.Krypton.Toolkit
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
protected static void DrawImageHelper(
	ViewContext context,
	Image image,
	Color remapTransparent,
	Rectangle imageRect,
	VisualOrientation orientation,
	PaletteImageEffect effect,
	Color remapColor,
	Color remapNew
)

Parameters

context  ViewContext
Rendering context.
image  Image
Image to be drawn.
remapTransparent  Color
Color that should become transparent.
imageRect  Rectangle
Destination rectangle.
orientation  VisualOrientation
Visual orientation.
effect  PaletteImageEffect
Drawing effect.
remapColor  Color
Image color to remap.
remapNew  Color
New color for remap.
See Also