Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SkPathEffect::DashInfo Struct Reference

#include <SkPathEffect.h>

Public Member Functions

 DashInfo ()
 
 DashInfo (SkScalar *intervals, int32_t count, SkScalar phase)
 

Public Attributes

SkScalarfIntervals
 Length of on/off intervals for dashed lines.
 
int32_t fCount
 Number of intervals in the dash. Should be even number.
 
SkScalar fPhase
 Offset into the dashed interval pattern.
 

Detailed Description

Definition at line 65 of file SkPathEffect.h.

Constructor & Destructor Documentation

◆ DashInfo() [1/2]

SkPathEffect::DashInfo::DashInfo ( )
inline

Definition at line 66 of file SkPathEffect.h.

66: fIntervals(nullptr), fCount(0), fPhase(0) {}
SkScalar fPhase
Offset into the dashed interval pattern.
int32_t fCount
Number of intervals in the dash. Should be even number.
SkScalar * fIntervals
Length of on/off intervals for dashed lines.

◆ DashInfo() [2/2]

SkPathEffect::DashInfo::DashInfo ( SkScalar intervals,
int32_t  count,
SkScalar  phase 
)
inline

Definition at line 67 of file SkPathEffect.h.

68 : fIntervals(intervals), fCount(count), fPhase(phase) {}
int count

Member Data Documentation

◆ fCount

int32_t SkPathEffect::DashInfo::fCount

Number of intervals in the dash. Should be even number.

Definition at line 72 of file SkPathEffect.h.

◆ fIntervals

SkScalar* SkPathEffect::DashInfo::fIntervals

Length of on/off intervals for dashed lines.

Definition at line 70 of file SkPathEffect.h.

◆ fPhase

SkScalar SkPathEffect::DashInfo::fPhase

Offset into the dashed interval pattern.

Definition at line 73 of file SkPathEffect.h.


The documentation for this struct was generated from the following file: