JubeatPlus 3.9.11
Loading...
Searching...
No Matches
ShadowView Class Reference

A transparent, non-interactive overlay that casts a shadow inwards. More...

#include <ShadowView.h>

Inheritance diagram for ShadowView:
Collaboration diagram for ShadowView:

Properties

double cornerRadius
 The corner radius of the shadowed shape.
double shadowBlurRadius
 How far the shadow spreads.

Detailed Description

A transparent, non-interactive overlay that casts a shadow inwards.

The usual way to get an inner shadow out of Core Graphics, which only casts outwards: build a path for the shape, build a second much larger path around it, append the first to the second, and fill the pair with the even-odd rule so the shadow falls into the hole.

Property Documentation

◆ cornerRadius

- (double) cornerRadius
readwritenonatomicassign

The corner radius of the shadowed shape.

Zero draws a plain rectangle.

◆ shadowBlurRadius

- (double) shadowBlurRadius
readwritenonatomicassign

How far the shadow spreads.

Defaults to 4.


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