Initializer
init(center:radius:angle:colorLine:extendMode:) initWithCenter:radius:angle:colorLine:extendMode: initWithCenter_radius_angle_colorLine_extendMode_
Creates a simple radial gradient with the given center and radius.
Declaration
init(
center: NSPoint,
radius: CGFloat,
angle: CGFloat,
colorLine: GSColorLine,
extendMode: GSGradientExtendMode
)Declaration
- (instancetype) initWithCenter:(NSPoint) center
radius:(CGFloat) radius
angle:(CGFloat) angle
colorLine:(GSColorLine *) colorLine
extendMode:(GSGradientExtendMode) extendMode;Declaration
initWithCenter_radius_angle_colorLine_extendMode_(
center: NSPoint,
radius: float,
angle: float,
colorLine: GSColorLine,
extendMode: GSGradientExtendMode
) -> GSRadialGradientDiscussion
Both circles share the same center and the start circle has a radius of 0.