Class LayerGeneralProperties
Represents the general properties of a layer
Implements
Inherited Members
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public class LayerGeneralProperties : LayerPropertyGroup, IDisposable
Constructors
LayerGeneralProperties()
Declaration
public LayerGeneralProperties()
Properties
BlendMode
How to blend this layer into the resulting image
Declaration
[PropertyDescription(Name = "Blend mode", Description = "How to blend this layer into the resulting image")]
public EnumLayerProperty<SKBlendMode> BlendMode { get; set; }
Property Value
Type | Description |
---|---|
EnumLayerProperty<SKBlendMode> |
BrushReference
The type of brush to use for this layer
Declaration
[PropertyDescription(Name = "Brush type", Description = "The type of brush to use for this layer")]
public LayerBrushReferenceLayerProperty BrushReference { get; set; }
Property Value
Type | Description |
---|---|
LayerBrushReferenceLayerProperty |
ShapeType
The type of shape to draw in this layer
Declaration
[PropertyDescription(Name = "Shape type", Description = "The type of shape to draw in this layer")]
public EnumLayerProperty<LayerShapeType> ShapeType { get; set; }
Property Value
Type | Description |
---|---|
EnumLayerProperty<LayerShapeType> |
TransformMode
How the transformation properties are applied to the layer
Declaration
[PropertyDescription(Name = "Transform mode", Description = "How the transformation properties are applied to the layer")]
public EnumLayerProperty<LayerTransformMode> TransformMode { get; set; }
Property Value
Type | Description |
---|---|
EnumLayerProperty<LayerTransformMode> |
Methods
DisableProperties()
Called when the property group is deactivated (either the profile unloaded or the related brush/effect was removed)
Declaration
protected override void DisableProperties()
Overrides
EnableProperties()
Called when the property group is activated
Declaration
protected override void EnableProperties()
Overrides
PopulateDefaults()
Called before property group is activated to allow you to populate DefaultValue on the properties you want
Declaration
protected override void PopulateDefaults()