Perfectly Clear SDK Documentation  10.0.0.495
PFCCOREMask Struct Reference

Struct describing mask for grad filter, all coordinates are relative (Y/height, X/width) in final crop-rotated image *‍/. More...

#include <PerfectlyClearPro.h>

Data Fields

float centerX
 X of center.
 
float centerY
 Y of center.
 
float width
 radial/rounded: w of bounding rect, linear: ignored
 
float height
 radial/rounded: h of bounding rect, linear: dist from centerY where grad becomes 1.0
 
float radius
 only for MASK_ROUNDRECT - corner radius, relative to image w.
 
float feather
 relative length of gradient, from where it starts (1.0) to where it is 0.0,
 
float angle
 CW.
 
float transparency
 overall transparency applied to the whole mask (strength 100 means transparency 0.0, 0 -> 1.0)
 
bool invert
 invert mask (x = 1.0 - x). NOTE: UI meaning of invert is: if one mask layer set invert = true
 

Detailed Description

Struct describing mask for grad filter, all coordinates are relative (Y/height, X/width) in final crop-rotated image *‍/.

Definition at line 524 of file PerfectlyClearPro.h.


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