ContourHover

public struct ContourHover : Encodable

Note

Used by Isosurface<XData, YData, ZData, ValueData>.contour, Volume<XYZData, ValueData>.contour, Mesh3D<XData, YData, ZData, IntensityData, VertexcolorData, FacecolorData>.contour.
  • Sets whether or not dynamic contours are shown on hover

    Declaration

    Swift

    public var show: Bool?
  • Sets the color of the contour lines.

    Declaration

    Swift

    public var color: Color?
  • Sets the width of the contour lines.

    Declaration

    Swift

    public var width: Double?
  • Creates ContourHover object with specified properties.

    Declaration

    Swift

    public init(show: Bool? = nil, color: Color? = nil, width: Double? = nil)

    Parameters

    show

    Sets whether or not dynamic contours are shown on hover

    color

    Sets the color of the contour lines.

    width

    Sets the width of the contour lines.