RenderOption

Represents rendering options for tooltip shapes and elements.

Props

The following table outlines the props for the RenderOption:

NameTypeDefaultDescription
cx
number
-

X-coordinate for circle center.

cy
number
-

Y-coordinate for circle center.

d
string
-

SVG path data string for path-based elements.

fill
string
-

Fill color for the element.

height
number
-

Height for element sizing.

href
string
-

URL reference for image elements.

rx
number
-

X-radius for rounded rectangle corners.

ry
number
-

Y-radius for rounded rectangle corners.

stroke
string
-

Stroke color for the element outline.

strokeWidth
number
-

Stroke width for the element outline in pixels.

width
number
-

Width for element sizing.

x
number
-

X-coordinate for element positioning.

y
number
-

Y-coordinate for element positioning.