Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTMutableShadow Class Reference

Mutable wrapper for various shadow drawing properties. More...

#import <CPTMutableShadow.h>

+ Inheritance diagram for CPTMutableShadow:
+ Collaboration diagram for CPTMutableShadow:

Properties

CGSize shadowOffset
 The horizontal and vertical offset values, specified using the width and height fields of the CGSize data type. The offsets are not affected by custom transformations. Positive values extend up and to the right. Default is (0.0, 0.0). More...
 
CGFloat shadowBlurRadius
 The blur radius, measured in the default user coordinate space. A value of 0.0 (the default) indicates no blur, while larger values produce correspondingly larger blurring. This value must not be negative. More...
 
CPTColorshadowColor
 The shadow color. If nil (the default), the shadow will not be drawn. More...
 
- Properties inherited from CPTShadow
CGSize shadowOffset
 The horizontal and vertical offset values, specified using the width and height fields of the CGSize data type. The offsets are not affected by custom transformations. Positive values extend up and to the right. Default is (0.0, 0.0). More...
 
CGFloat shadowBlurRadius
 The blur radius, measured in the default user coordinate space. A value of 0.0 (the default) indicates no blur, while larger values produce correspondingly larger blurring. This value must not be negative. More...
 
CPTColorshadowColor
 The shadow color. If nil (the default), the shadow will not be drawn. More...
 

Additional Inherited Members

- Public Class Methods inherited from CPTShadow
(nonnull instancetype) + shadow
 Creates and returns a new CPTShadow instance. More...
 
- Public Class Methods inherited from NSObject
(id+ alloc
 
(Class+ class
 
(void) + initialize
 
(void) + load
 
(id+ new
 
- Public Class Methods inherited from <NSSecureCoding>
(BOOL+ supportsSecureCoding:
 
- Public Instance Methods inherited from CPTShadow
(void) - setShadowInContext:
 Sets the shadow properties in the given graphics context. More...
 
(nonnull instancetype) - init [implementation]
 Initializes a newly allocated CPTShadow object. More...
 
- Public Instance Methods inherited from NSObject
(Class- classForCoder
 
(id- copy
 
(void) - dealloc
 
(void) - finalize
 
(id- init
 
(id- mutableCopy
 
- Public Instance Methods inherited from <NSObject>
(NSString *) - description
 
(NSUInteger- hash
 
(BOOL- isEqual:
 
- Public Instance Methods inherited from <NSCopying>
(id- copyWithZone:
 
- Public Instance Methods inherited from <NSMutableCopying>
(id- mutableCopyWithZone:
 
- Public Instance Methods inherited from <NSCoding>
(id- initWithCoder:
 
(void) - encodeWithCoder:
 

Detailed Description

Mutable wrapper for various shadow drawing properties.

If you need to customize properties of a shadow, you should use this class rather than the immutable super class.

Property Documentation

◆ shadowBlurRadius

- (CGFloat) shadowBlurRadius
readwritenonatomicassign

The blur radius, measured in the default user coordinate space. A value of 0.0 (the default) indicates no blur, while larger values produce correspondingly larger blurring. This value must not be negative.

◆ shadowColor

- (nullable CPTColor *) shadowColor
readwritenonatomicstrong

The shadow color. If nil (the default), the shadow will not be drawn.

◆ shadowOffset

- (CGSize) shadowOffset
readwritenonatomicassign

The horizontal and vertical offset values, specified using the width and height fields of the CGSize data type. The offsets are not affected by custom transformations. Positive values extend up and to the right. Default is (0.0, 0.0).


The documentation for this class was generated from the following files: