/** * Returns a zero value of this AnimatableValue's type. */ public AnimatableValue getZeroValue() { return AnimatablePaintValue.createColorPaintValue(target, 0f, 0f, 0f); }
/** * Returns a zero value of this AnimatableValue's type. */ public AnimatableValue getZeroValue() { return AnimatablePaintValue.createColorPaintValue(target, 0f, 0f, 0f); }
/** * Returns a zero value of this AnimatableValue's type. */ public AnimatableValue getZeroValue() { return AnimatablePaintValue.createColorPaintValue(target, 0f, 0f, 0f); }
/** * Creates a new {@link AnimatablePaintValue} from a {@link Color} * object. */ protected AnimatablePaintValue createColorPaintValue(AnimationTarget t, Color c) { return AnimatablePaintValue.createColorPaintValue (t, c.getRed() / 255f, c.getGreen() / 255f, c.getBlue() / 255f); }
/** * Creates a new {@link AnimatablePaintValue} from a {@link Color} * object. */ protected AnimatablePaintValue createColorPaintValue(AnimationTarget t, Color c) { return AnimatablePaintValue.createColorPaintValue (t, c.getRed() / 255f, c.getGreen() / 255f, c.getBlue() / 255f); }
/** * Creates a new {@link AnimatablePaintValue} from a {@link Color} * object. */ protected AnimatablePaintValue createColorPaintValue(AnimationTarget t, Color c) { return AnimatablePaintValue.createColorPaintValue (t, c.getRed() / 255f, c.getGreen() / 255f, c.getBlue() / 255f); }