Instance Method
colorLineClipped(from:to:) colorLineClippedFrom:to: colorLineClippedFrom_to_
Returns a new color line representing the part of the receiver between min and max.
Declaration
func colorLineClipped(from min: CGFloat, to max: CGFloat) -> GSColorLineDeclaration
- (GSColorLine *) colorLineClippedFrom:(CGFloat) min to:(CGFloat) max;Declaration
colorLineClippedFrom_to_(min: float, max: float) -> GSColorLineDiscussion
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.