Skip to content

LineStyle🔗

TODO docs

Definition🔗

type LineStyle struct {
    Fill *common.LineStyleFill `json:"fill,omitempty"`
    Dash []float64 `json:"dash,omitempty"`
}

Methods🔗

UnmarshalJSONStrict🔗

UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode LineStyle from JSON.

Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …

func (lineStyle *LineStyle) UnmarshalJSONStrict(raw []byte) error

Equals🔗

Equals tests the equality of two LineStyle objects.

func (lineStyle *LineStyle) Equals(other LineStyle) bool

Validate🔗

Validate checks all the validation constraints that may be defined on LineStyle fields for violations and returns them.

func (lineStyle *LineStyle) Validate() error

See also🔗