Skip to content

FillConfig🔗

TODO docs

Definition🔗

type FillConfig struct {
    FillColor *string `json:"fillColor,omitempty"`
    FillOpacity *float64 `json:"fillOpacity,omitempty"`
    FillBelowTo *string `json:"fillBelowTo,omitempty"`
}

Methods🔗

UnmarshalJSONStrict🔗

UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode FillConfig 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 (fillConfig *FillConfig) UnmarshalJSONStrict(raw []byte) error

Equals🔗

Equals tests the equality of two FillConfig objects.

func (fillConfig *FillConfig) Equals(other FillConfig) bool

Validate🔗

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

func (fillConfig *FillConfig) Validate() error

See also🔗