Click or drag to resize

IRenderBorderGetBorderPath Method

Generate a graphics path that is in the middle of the border.

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#
GraphicsPath GetBorderPath(
	RenderContext context,
	Rectangle rect,
	IPaletteBorder palette,
	VisualOrientation orientation,
	PaletteState state
)

Parameters

context
Type: Internal.ComponentFactory.Krypton.ToolkitRenderContext
Rendering context.
rect
Type: System.DrawingRectangle
Target rectangle.
palette
Type: Internal.ComponentFactory.Krypton.ToolkitIPaletteBorder
Palette used for drawing.
orientation
Type: Internal.ComponentFactory.Krypton.ToolkitVisualOrientation
Visual orientation of the border.
state
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteState
State associated with rendering.

Return Value

Type: GraphicsPath
GraphicsPath instance.
See Also