RectangleHoverArea
Class

Assembly LiveChartsCore
Namespace LiveChartsCore.Kernel.Drawing

Summary:
Defines a rectangle hover area.

Inheritance:
Object =>
HoverArea =>
RectangleHoverArea

Constructors

// Initializes a new instance of the RectangleHoverArea class.
// Initializes a new instance of the RectangleHoverArea class.
Single x, // The x.
Single y, // The y.
Single width, // The width.
Single height// The height.
)

Properties

X
Gets or sets the x location.
Type: Single
Y
Gets or sets the y location.
Type: Single
Gets or sets the width.
Type: Single
Gets or sets the height.
Type: Single
Gets or sets the suggested tool tip location
Type: LvcPoint
Gets or sets a value indicating whether the primary value is less than pivot.
Type: Boolean

Methods

// Sets the area dimensions.
Single x, // The x.
Single y, // The y.
Single width, // The width.
Single height// The height.
)
// Sets the SuggestedTooltipLocation to the center of the RectangleHoverArea in the X axis.
// Sets the SuggestedTooltipLocation to the start of the RectangleHoverArea in the X axis.
// Sets the SuggestedTooltipLocation to the center of the RectangleHoverArea in the X axis.
// Sets the SuggestedTooltipLocation to the center of the RectangleHoverArea in the Y axis.
// Sets the SuggestedTooltipLocation to the start of the RectangleHoverArea in the Y axis.
// Sets the SuggestedTooltipLocation to the center of the RectangleHoverArea in the Y axis.
// Gets or sets a value indicating whether the primary value is less than pivot.
// Gets the distance to a given point.
LvcPoint point// The point to calculate the distance to.
)
// Determines whether the pointer is over the area.
LvcPoint pointerLocation, // The pointer location.
TooltipFindingStrategy strategy// The strategy.
)
// Suggests the tooltip placement.
TooltipPlacementContext ctx, // The context.
LvcSize tooltipSize// Size of the tooltip.
)