Inheritance
System.Object
PhysicalShapeLayer
public class PhysicalShapeLayer : ContainerLayer
Constructors
Declaration
public PhysicalShapeLayer(Clip clipBehavior)
Parameters
Type |
Name |
Description |
Clip |
clipBehavior |
|
Properties
Declaration
public Color color { set; }
Property Value
Declaration
public float devicePixelRatio { set; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public float elevation { set; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public Path path { set; }
Property Value
Declaration
public Color shadowColor { set; }
Property Value
Methods
Declaration
public static void drawShadow(Canvas canvas, Path path, Color color, float elevation, bool transparentOccluder, float dpr)
Parameters
Type |
Name |
Description |
Canvas |
canvas |
|
Path |
path |
|
Color |
color |
|
System.Single |
elevation |
|
System.Boolean |
transparentOccluder |
|
System.Single |
dpr |
|
paint(PaintContext)
Declaration
public override void paint(PaintContext context)
Parameters
Overrides
preroll(PrerollContext, Matrix3)
Declaration
public override void preroll(PrerollContext context, Matrix3 matrix)
Parameters
Overrides