Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTFill(AbstractMethods) Category Reference

CPTFill abstract methods—must be overridden by subclasses. More...

#import <CPTFill.h>

Public Instance Methods

(void) - fillRect:inContext: [implementation]
 Draws the gradient into the given graphics context inside the provided rectangle. More...
 
(void) - fillPathInContext: [implementation]
 Draws the gradient into the given graphics context clipped to the current drawing path. More...
 
Drawing
(void) - fillRect:inContext:
 
(void) - fillPathInContext:
 

Properties

BOOL opaque
 If YES, the fill is completely opaque. More...
 
CGColorRef cgColor
 Returns a CGColorRef describing the fill if the fill can be represented as a color, NULL otherwise. More...
 

Detailed Description

CPTFill abstract methods—must be overridden by subclasses.

Method Documentation

◆ fillPathInContext: [1/2]

- (void) fillPathInContext: (nonnull CGContextRef __unused)  context
implementation

Draws the gradient into the given graphics context clipped to the current drawing path.

Parameters
contextThe graphics context to draw into.

Extends class CPTFill.

◆ fillPathInContext: [2/2]

- (void) fillPathInContext: (nonnull CGContextRef context

Extends class CPTFill.

◆ fillRect:inContext: [1/2]

- (void) fillRect: (CGRect __unused)  rect
inContext: (nonnull CGContextRef __unused)  context 
implementation

Draws the gradient into the given graphics context inside the provided rectangle.

Parameters
rectThe rectangle to draw into.
contextThe graphics context to draw into.

Extends class CPTFill.

◆ fillRect:inContext: [2/2]

- (void) fillRect: (CGRect rect
inContext: (nonnull CGContextRef context 

Extends class CPTFill.

Property Documentation

◆ cgColor

- (nullable CGColorRef) cgColor
readnonatomicassign

Returns a CGColorRef describing the fill if the fill can be represented as a color, NULL otherwise.

Extends class CPTFill.

◆ opaque

- (BOOL) opaque
readnonatomicassign

If YES, the fill is completely opaque.

Extends class CPTFill.


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