Artemis Artemis
Artemis Artemis

Search Results for

    Class LayerBrush<T>

    Represents a brush that renders on a layer

    Inheritance
    object
    CorePropertyChanged
    BreakableModel
    BaseLayerBrush
    PropertiesLayerBrush<T>
    LayerBrush<T>
    Implements
    IBreakableModel
    IDisposable
    Inherited Members
    PropertiesLayerBrush<T>.PropertiesInitialized
    PropertiesLayerBrush<T>.BaseProperties
    PropertiesLayerBrush<T>.Properties
    BaseLayerBrush.EnableLayerBrush()
    BaseLayerBrush.DisableLayerBrush()
    BaseLayerBrush.Update(double)
    BaseLayerBrush.Dispose(bool)
    BaseLayerBrush.Dispose()
    BaseLayerBrush.Layer
    BaseLayerBrush.LayerBrushEntity
    BaseLayerBrush.Descriptor
    BaseLayerBrush.ConfigurationDialog
    BaseLayerBrush.BrushType
    BaseLayerBrush.ProviderId
    BaseLayerBrush.Presets
    BaseLayerBrush.DefaultPreset
    BaseLayerBrush.Enabled
    BaseLayerBrush.SupportsTransformation
    BaseLayerBrush.BrokenDisplayName
    BreakableModel.OnBrokenStateChanged()
    BreakableModel.TryOrBreak(Action, string)
    BreakableModel.SetBrokenState(string, Exception)
    BreakableModel.ClearBrokenState(string)
    BreakableModel.GetBrokenHierarchy()
    BreakableModel.BrokenState
    BreakableModel.BrokenStateException
    BreakableModel.BrokenStateChanged
    Namespace: Artemis.Core.LayerBrushes
    Assembly: Artemis.Core.dll
    Syntax
    public abstract class LayerBrush<T> : PropertiesLayerBrush<T>, IBreakableModel, IDisposable where T : LayerPropertyGroup, new()
    Type Parameters
    Name Description
    T

    The type of brush properties

    Constructors

    LayerBrush()

    Creates a new instance of the LayerBrush<T> class

    Declaration
    protected LayerBrush()

    Methods

    Render(SKCanvas, SKRect, SKPaint)

    The main method of rendering anything to the layer. The provided 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
    SKCanvas canvas

    The layer canvas

    SKRect bounds

    The area to be filled, covers the shape

    SKPaint paint

    The paint to be used to fill the shape

    Implements

    IBreakableModel
    IDisposable
    Content is available under the PolyForm Noncommercial License, by Artemis RGB.