using SkiaSharp; #pragma warning disable 8618 namespace Artemis.Core { /// /// Represents the general properties of a layer /// public class LayerGeneralProperties : LayerPropertyGroup { /// /// The type of brush to use for this layer /// [PropertyDescription(Name = "Brush type", Description = "The type of brush to use for this layer")] public LayerBrushReferenceLayerProperty BrushReference { get; set; } /// /// The type of shape to draw in this layer /// [PropertyDescription(Name = "Shape type", Description = "The type of shape to draw in this layer")] public EnumLayerProperty ShapeType { get; set; } /// /// How to blend this layer into the resulting image /// [PropertyDescription(Name = "Blend mode", Description = "How to blend this layer into the resulting image")] public EnumLayerProperty BlendMode { get; set; } /// /// How the transformation properties are applied to the layer /// [PropertyDescription(Name = "Transform mode", Description = "How the transformation properties are applied to the layer")] public EnumLayerProperty TransformMode { get; set; } /// protected override void PopulateDefaults() { ShapeType.DefaultValue = LayerShapeType.Rectangle; BlendMode.DefaultValue = SKBlendMode.SrcOver; } /// protected override void EnableProperties() { } /// protected override void DisableProperties() { } } }