Declaration

func colorLineClipped(from min: CGFloat, to max: CGFloat) -> GSColorLine

Declaration

- (GSColorLine *) colorLineClippedFrom:(CGFloat) min to:(CGFloat) max;

Declaration

colorLineClippedFrom_to_(min: float, max: float) -> GSColorLine

Discussion

If no color stops exist at the min or max offset, then new color stops will be interpolated and inserted as the start and end color stops. Color stops outside the range are not included in the new color line.