Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTShadow.h
Go to the documentation of this file.
1 @class CPTColor;
2 
4 
5 @property (nonatomic, readonly) CGSize shadowOffset;
6 @property (nonatomic, readonly) CGFloat shadowBlurRadius;
7 @property (nonatomic, readonly, nullable) CPTColor *shadowColor;
8 
11 +(nonnull instancetype)shadow;
13 
16 -(void)setShadowInContext:(nonnull CGContextRef)context;
18 
19 @end
CPTShadow::shadowBlurRadius
CGFloat shadowBlurRadius
The blur radius, measured in the default user coordinate space. A value of 0.0 (the default) indicate...
Definition: CPTShadow.h:6
CPTShadow
Immutable wrapper for various shadow drawing properties.
Definition: CPTShadow.h:3
NSObject
CPTColor
An immutable color.
Definition: CPTColor.h:3
+[CPTShadow shadow]
nonnull instancetype shadow()
Creates and returns a new CPTShadow instance.
Definition: CPTShadow.m:54
CPTShadow::shadowColor
CPTColor * shadowColor
The shadow color. If nil (the default), the shadow will not be drawn.
Definition: CPTShadow.h:7
CGContextRef
typedef CGContextRef
CGSize
typedef CGSize
CPTShadow::shadowOffset
CGSize shadowOffset
The horizontal and vertical offset values, specified using the width and height fields of the CGSize ...
Definition: CPTShadow.h:5
NSSecureCoding-p