Skip to content
zehavibarak edited this page Dec 27, 2023 · 5 revisions

Structure of a value or combination of values of either a single value, range of values, array of values or a pattern.

Methods

Name Usage
Contains(Axis)
Join(Axis)
Negate()
Unwrap(params chars[])
Equals(Axis)
Combine(params Axis[]) Static
Parse(expression) Static
FromValue(value) Static
FromRange(start, end) Static
FromRange() Static
FromArray(params value[]) Static
GetEnumerator() IEnumerable of AxisEntry
IsInclusive
IsEmpty

To create an axis expression of range 1-3, but not 2, use:

var range = Axis.Combine(Axis.FromRange(1, 3), 
    Axis.FromValue(2).Negate());

Release Notes

Angular npm, Flutter pub.dev and Nuget packages.

Clone this wiki locally