Class PaintingContext
Inheritance
System.Object
PaintingContext
Syntax
public class PaintingContext : ClipContext
Fields
estimatedBounds
Declaration
public readonly Rect estimatedBounds
Field Value
Properties
canvas
Declaration
public override Canvas canvas { get; }
Property Value
Overrides
Methods
addLayer(Layer)
Declaration
public void addLayer(Layer layer)
Parameters
Type |
Name |
Description |
Layer |
layer |
|
appendLayer(Layer)
Declaration
protected virtual void appendLayer(Layer layer)
Parameters
Type |
Name |
Description |
Layer |
layer |
|
createChildContext(ContainerLayer, Rect)
Declaration
protected PaintingContext createChildContext(ContainerLayer childLayer, Rect bounds)
Parameters
Returns
debugInstrumentRepaintCompositedChild(RenderObject, Boolean, PaintingContext)
Declaration
public static void debugInstrumentRepaintCompositedChild(RenderObject child, bool debugAlsoPaintedParent = false, PaintingContext customContext = null)
Parameters
paintChild(RenderObject, Offset)
Declaration
public void paintChild(RenderObject child, Offset offset)
Parameters
pushClipPath(Boolean, Offset, Rect, Path, PaintingContextCallback, Clip)
Declaration
public void pushClipPath(bool needsCompositing, Offset offset, Rect bounds, Path clipPath, PaintingContextCallback painter, Clip clipBehavior = Clip.antiAlias)
Parameters
pushClipRect(Boolean, Offset, Rect, PaintingContextCallback, Clip)
Declaration
public void pushClipRect(bool needsCompositing, Offset offset, Rect clipRect, PaintingContextCallback painter, Clip clipBehavior = Clip.hardEdge)
Parameters
pushClipRRect(Boolean, Offset, Rect, RRect, PaintingContextCallback, Clip)
Declaration
public void pushClipRRect(bool needsCompositing, Offset offset, Rect bounds, RRect clipRRect, PaintingContextCallback painter, Clip clipBehavior = Clip.antiAlias)
Parameters
pushLayer(ContainerLayer, PaintingContextCallback, Offset, Rect)
Declaration
public void pushLayer(ContainerLayer childLayer, PaintingContextCallback painter, Offset offset, Rect childPaintBounds = null)
Parameters
pushOpacity(Offset, Int32, PaintingContextCallback)
Declaration
public void pushOpacity(Offset offset, int alpha, PaintingContextCallback painter)
Parameters
pushTransform(Boolean, Offset, Matrix3, PaintingContextCallback)
Declaration
public void pushTransform(bool needsCompositing, Offset offset, Matrix3 transform, PaintingContextCallback painter)
Parameters
repaintCompositedChild(RenderObject, Boolean)
Declaration
public static void repaintCompositedChild(RenderObject child, bool debugAlsoPaintedParent = false)
Parameters
Type |
Name |
Description |
RenderObject |
child |
|
System.Boolean |
debugAlsoPaintedParent |
|
setIsComplexHint()
Declaration
public void setIsComplexHint()
setWillChangeHint()
Declaration
public void setWillChangeHint()
stopRecordingIfNeeded()
Declaration
protected virtual void stopRecordingIfNeeded()
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()