internal ArtemisDevice(IRGBDevice rgbDevice, Plugin plugin, ArtemisSurface surface, DeviceEntity deviceEntity)
 {
     RgbDevice    = rgbDevice;
     Plugin       = plugin;
     Surface      = surface;
     DeviceEntity = deviceEntity;
     Leds         = rgbDevice.Select(l => new ArtemisLed(l, this)).ToList().AsReadOnly();
 }
        internal ArtemisDevice(IRGBDevice rgbDevice, Plugin plugin, ArtemisSurface surface)
        {
            RgbDevice    = rgbDevice;
            Plugin       = plugin;
            Surface      = surface;
            DeviceEntity = new DeviceEntity();
            Leds         = rgbDevice.Select(l => new ArtemisLed(l, this)).ToList().AsReadOnly();

            Rotation = 0;
            Scale    = 1;
            ZIndex   = 1;

            ApplyToEntity();
            CalculateRenderProperties();
        }
Exemple #3
0
 public override void Render(double deltaTime, ArtemisSurface surface, SKCanvas canvas, SKImageInfo canvasInfo)
 {
     throw new NotImplementedException();
 }
 internal SurfaceConfigurationEventArgs(ArtemisSurface surface)
 {
     Surface = surface;
 }
 public SurfaceConfigurationEventArgs(ArtemisSurface surface)
 {
     Surface = surface;
 }