Class ImageStyleRenderer
  
  
  
    Inheritance
    
    ImageStyleRenderer
   
  
  
  
  Assembly: Mapsui.Rendering.Skia.dll
  Syntax
  
    public class ImageStyleRenderer : ISkiaStyleRenderer, IStyleRenderer, IFeatureSize
   
  Methods
  
    |
    Edit this page
  
  
    View Source
  
  
  ConvertPictureToImage(SKPicture, int, int)
  
  
  Declaration
  
    public static SKImage ConvertPictureToImage(SKPicture picture, int width, int height)
   
  Parameters
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Draw(SKCanvas, Viewport, ILayer, IFeature, IStyle, RenderService, long)
  Drawing function for special styles
Declaration
  
    public bool Draw(SKCanvas canvas, Viewport viewport, ILayer layer, IFeature feature, IStyle style, RenderService renderService, long iteration)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | SKCanvas | canvas | SKCanvas for drawing. | 
      
        | Viewport | viewport | Active viewport for this drawing operation. | 
      
        | ILayer | layer | Layer that contains feature. | 
      
        | IFeature | feature | Feature to draw. | 
      
        | IStyle | style | Style to draw. | 
      
        | RenderService | renderService | RenderService to provide caches and such. | 
      
        | long | iteration |  | 
    
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  DrawSKImage(SKCanvas, SKImage, float)
  
  
  Declaration
  
    public static void DrawSKImage(SKCanvas canvas, SKImage bitmap, float opacity)
   
  Parameters
  
  
    |
    Edit this page
  
  
    View Source
  
  
  DrawSKPicture(SKCanvas, SKPicture, float, Color?)
  
  
  Declaration
  
    public static void DrawSKPicture(SKCanvas canvas, SKPicture picture, float opacity, Color? blendModeColor)
   
  Parameters
  
  
    |
    Edit this page
  
  
    View Source
  
  
  FeatureSize(ImageStyle, RenderService)
  
  
  Declaration
  
    public static double FeatureSize(ImageStyle imageStyle, RenderService renderService)
   
  Parameters
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  TryCreateDrawableImage(Image, ImageSourceCache)
  
  
  Declaration
  
    public static IDrawableImage? TryCreateDrawableImage(Image image, ImageSourceCache imageSourceCache)
   
  Parameters
  
  Returns
  
  Implements
  
  
  
  Extension Methods