Click or drag to resize

RenderContextGetAlignedRectangle Method

Calculate a rectangle in control coodinates that is aligned for gradient drawing.

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public Rectangle GetAlignedRectangle(
	PaletteRectangleAlign align,
	Rectangle local
)

Parameters

align
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteRectangleAlign
How to align the gradient.
local
Type: System.DrawingRectangle
Rectangle of the local element.

Return Value

Type: Rectangle
See Also