Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
Mutable wrapper for various line drawing properties. More...
#import <CPTMutableLineStyle.h>
Properties | |
CGLineCap | lineCap |
The style for the endpoints of lines drawn in a graphics context. Default is kCGLineCapButt. More... | |
CGLineJoin | lineJoin |
The style for the joins of connected lines in a graphics context. Default is kCGLineJoinMiter. More... | |
CGFloat | miterLimit |
The miter limit for the joins of connected lines in a graphics context. Default is 10.0 . More... | |
CGFloat | lineWidth |
The line width for a graphics context. Default is 1.0 . More... | |
CPTNumberArray * | dashPattern |
The dash-and-space pattern for the line. Default is nil. More... | |
CGFloat | patternPhase |
The starting phase of the line dash pattern. Default is 0.0 . More... | |
CPTColor * | lineColor |
The current stroke color in a context. Default is solid black. More... | |
CPTFill * | lineFill |
The current line fill. Default is nil. More... | |
CPTGradient * | lineGradient |
The current line gradient fill. Default is nil. More... | |
Properties inherited from CPTLineStyle | |
CGLineCap | lineCap |
The style for the endpoints of lines drawn in a graphics context. Default is kCGLineCapButt. More... | |
CGLineJoin | lineJoin |
The style for the joins of connected lines in a graphics context. Default is kCGLineJoinMiter. More... | |
CGFloat | miterLimit |
The miter limit for the joins of connected lines in a graphics context. Default is 10.0 . More... | |
CGFloat | lineWidth |
The line width for a graphics context. Default is 1.0 . More... | |
CPTNumberArray * | dashPattern |
The dash-and-space pattern for the line. Default is nil. More... | |
CGFloat | patternPhase |
The starting phase of the line dash pattern. Default is 0.0 . More... | |
CPTColor * | lineColor |
The current stroke color in a context. Default is solid black. More... | |
CPTFill * | lineFill |
The current line fill. Default is nil. More... | |
CPTGradient * | lineGradient |
The current line gradient fill. Default is nil. More... | |
BOOL | opaque |
If YES, a line drawn using the line style is completely opaque. More... | |
Additional Inherited Members | |
Public Class Methods inherited from CPTLineStyle | |
(nonnull instancetype) | + lineStyle |
Creates and returns a new CPTLineStyle instance. More... | |
(nonnull instancetype) | + lineStyleWithStyle: |
Creates and returns a new line style instance initialized from an existing line style. More... | |
Public Class Methods inherited from NSObject | |
(id) | + alloc |
(Class) | + class |
(void) | + initialize |
(void) | + load |
(id) | + new |
Public Class Methods inherited from <NSKeyValueBindingCreation> | |
(void) | + exposeBinding: |
Public Class Methods inherited from <NSSecureCoding> | |
(BOOL) | + supportsSecureCoding: |
Public Instance Methods inherited from CPTLineStyle | |
(void) | - setLineStyleInContext: |
Sets all of the line drawing properties in the given graphics context. More... | |
(void) | - strokePathInContext: |
Stroke the current path in the given graphics context. Call -setLineStyleInContext: first to set up the drawing properties. More... | |
(void) | - strokeRect:inContext: |
Stroke a rectangular path in the given graphics context. Call -setLineStyleInContext: first to set up the drawing properties. More... | |
(nonnull instancetype) | - init [implementation] |
Initializes a newly allocated CPTLineStyle 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 <NSKeyValueBindingCreation> | |
(NSArray *) | - exposedBindings |
(Class) | - valueClassForBinding: |
(void) | - bind:toObject:withKeyPath:options: |
(NSArray *) | - optionDescriptionsForBinding: |
(NSDictionary *) | - infoForBinding: |
(void) | - unbind: |
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: |
Mutable wrapper for various line drawing properties.
If you need to customize properties of a line style, you should use this class rather than the immutable super class.
|
readwritenonatomicstrong |
The dash-and-space pattern for the line. Default is nil.
|
readwritenonatomicassign |
The style for the endpoints of lines drawn in a graphics context. Default is kCGLineCapButt.
|
readwritenonatomicstrong |
The current stroke color in a context. Default is solid black.
|
readwritenonatomicstrong |
The current line fill. Default is nil.
If nil, the line is drawn using the lineGradient or lineColor.
|
readwritenonatomicstrong |
|
readwritenonatomicassign |
The style for the joins of connected lines in a graphics context. Default is kCGLineJoinMiter.
|
readwritenonatomicassign |
The line width for a graphics context. Default is 1.0
.
|
readwritenonatomicassign |
The miter limit for the joins of connected lines in a graphics context. Default is 10.0
.
|
readwritenonatomicassign |
The starting phase of the line dash pattern. Default is 0.0
.