Table of Contents

Class BorderRenderCore2D

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

Properties

Background

Gets or sets the background.

public Brush? Background { get; set; }

Property Value

Brush

The background.

BorderThickness

Gets or sets the stroke thickness.

public Vector4 BorderThickness { get; set; }

Property Value

Vector4

The stroke thickness.

CornerRadius

Gets or sets the corner radius.

public float CornerRadius { get; set; }

Property Value

float

The corner radius.

StrokeBrush

Gets or sets the stroke brush.

public Brush? StrokeBrush { get; set; }

Property Value

Brush

The stroke brush.

StrokeStyle

Gets or sets the stroke style.

public StrokeStyle? StrokeStyle { get; set; }

Property Value

StrokeStyle

The stroke style.

Methods

OnAttach(IRenderHost)

Called when [attach].

protected override bool OnAttach(IRenderHost host)

Parameters

host IRenderHost

The target.

Returns

bool

OnDetach()

Called when [detach].

protected override void OnDetach()

OnLayoutBoundChanged(RectangleF)

protected override void OnLayoutBoundChanged(RectangleF layoutBound)

Parameters

layoutBound RectangleF

OnRender(RenderContext2D)

Called when [render].

protected override void OnRender(RenderContext2D context)

Parameters

context RenderContext2D

The context.