Artemis logo
Search Results for

    Show / Hide Table of Contents

    Class LayerBrush<T>

    Represents a brush that renders on a layer

    Inheritance
    System.Object
    CorePropertyChanged
    BaseLayerBrush
    PropertiesLayerBrush<T>
    LayerBrush<T>
    Implements
    System.IDisposable
    Inherited Members
    PropertiesLayerBrush<T>.PropertiesInitialized
    PropertiesLayerBrush<T>.BaseProperties
    PropertiesLayerBrush<T>.Properties
    BaseLayerBrush.Layer
    BaseLayerBrush.Descriptor
    BaseLayerBrush.ConfigurationDialog
    BaseLayerBrush.BrushType
    BaseLayerBrush.ProviderId
    BaseLayerBrush.SupportsTransformation
    BaseLayerBrush.EnableLayerBrush()
    BaseLayerBrush.DisableLayerBrush()
    BaseLayerBrush.Update(Double)
    BaseLayerBrush.Dispose(Boolean)
    BaseLayerBrush.Dispose()
    CorePropertyChanged.PropertyChanged
    CorePropertyChanged.RequiresUpdate<T>(T, T)
    CorePropertyChanged.SetAndNotify<T>(T, T, String)
    CorePropertyChanged.OnPropertyChanged(String)
    Namespace: Artemis.Core.LayerBrushes
    Assembly: Artemis.Core.dll
    Syntax
    public abstract class LayerBrush<T> : PropertiesLayerBrush<T>, INotifyPropertyChanged, IDisposable where T : LayerPropertyGroup
    Type Parameters
    Name Description
    T

    The type of brush properties

    Constructors

    | Improve this Doc View Source

    LayerBrush()

    Creates a new instance of the LayerBrush<T> class

    Declaration
    protected LayerBrush()

    Methods

    | Improve this Doc View Source

    Render(SKCanvas, SKRect, SKPaint)

    The main method of rendering anything to the layer. The provided SkiaSharp.SKCanvas is specific to the layer and matches it's width and height.

    Called during rendering or layer preview, in the order configured on the layer

    Declaration
    public abstract void Render(SKCanvas canvas, SKRect bounds, SKPaint paint)
    Parameters
    Type Name Description
    SkiaSharp.SKCanvas canvas

    The layer canvas

    SkiaSharp.SKRect bounds

    The area to be filled, covers the shape

    SkiaSharp.SKPaint paint

    The paint to be used to fill the shape

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX