Skia
2D Graphics Library
SkCornerPathEffect Class Reference

SkCornerPathEffect is a subclass of SkPathEffect that can turn sharp corners into various treatments (e.g. More...

#include <SkCornerPathEffect.h>

Static Public Member Functions

static sk_sp< SkPathEffectMake (SkScalar radius)
 radius must be > 0 to have an effect. More...
 
static void RegisterFlattenables ()
 

Detailed Description

SkCornerPathEffect is a subclass of SkPathEffect that can turn sharp corners into various treatments (e.g.

rounded corners)

Member Function Documentation

◆ Make()

static sk_sp<SkPathEffect> SkCornerPathEffect::Make ( SkScalar  radius)
static

radius must be > 0 to have an effect.

It specifies the distance from each corner that should be "rounded".

◆ RegisterFlattenables()

static void SkCornerPathEffect::RegisterFlattenables ( )
static

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