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 (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.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