X

public struct X : Encodable

Undocumented

  • Sets the fill ratio of the slices.

    The default fill value of the x slices is 1 meaning that they are entirely shaded. On the other hand Applying a fill ratio less than one would allow the creation of openings parallel to the edges.

    Declaration

    Swift

    public var show: Bool?
  • Sets the fill ratio of the caps.

    The default fill value of the caps is 1 meaning that they are entirely shaded. On the other hand Applying a fill ratio less than one would allow the creation of openings parallel to the edges.

    Declaration

    Swift

    public var fill: Double?
  • Creates X object with specified properties.

    Declaration

    Swift

    public init(show: Bool? = nil, fill: Double? = nil)

    Parameters

    show

    Sets the fill ratio of the slices.

    fill

    Sets the fill ratio of the caps.