C# Class FFImageLoading.Svg.Forms.SvgImageSource

SVG image source.
Inheritance: Xamarin.Forms.ImageSource, IVectorImageSource
ファイルを表示 Open project: daniel-luberda/FFImageLoading Class Usage Examples

Public Methods

Method Description
FromFile ( string file, int vectorWidth, int vectorHeight, bool useDipUnits = true ) : SvgImageSource

SvgImageSource FromFile. By default it uses view size as vectorWidth / vectorHeight

FromStream ( Func stream, int vectorWidth, int vectorHeight, bool useDipUnits = true ) : SvgImageSource

SvgImageSource FromStream. By default it uses view size as vectorWidth / vectorHeight

FromUri ( Uri uri, int vectorWidth, int vectorHeight, bool useDipUnits = true ) : SvgImageSource

SvgImageSource FromUri. By default it uses view size as vectorWidth / vectorHeight

GetVectorDataResolver ( ) : IVectorDataResolver
SvgImageSource ( Xamarin imageSource, int vectorWidth, int vectorHeight, bool useDipUnits ) : System

Method Details

FromFile() public static method

SvgImageSource FromFile. By default it uses view size as vectorWidth / vectorHeight
public static FromFile ( string file, int vectorWidth, int vectorHeight, bool useDipUnits = true ) : SvgImageSource
file string File.
vectorWidth int Vector width.
vectorHeight int Vector height.
useDipUnits bool If set to true use dip units.
return SvgImageSource

FromStream() public static method

SvgImageSource FromStream. By default it uses view size as vectorWidth / vectorHeight
public static FromStream ( Func stream, int vectorWidth, int vectorHeight, bool useDipUnits = true ) : SvgImageSource
stream Func Stream.
vectorWidth int Vector width.
vectorHeight int Vector height.
useDipUnits bool If set to true use dip units.
return SvgImageSource

FromUri() public static method

SvgImageSource FromUri. By default it uses view size as vectorWidth / vectorHeight
public static FromUri ( Uri uri, int vectorWidth, int vectorHeight, bool useDipUnits = true ) : SvgImageSource
uri System.Uri URI.
vectorWidth int Vector width.
vectorHeight int Vector height.
useDipUnits bool If set to true use dip units.
return SvgImageSource

GetVectorDataResolver() public method

public GetVectorDataResolver ( ) : IVectorDataResolver
return IVectorDataResolver

SvgImageSource() public method

public SvgImageSource ( Xamarin imageSource, int vectorWidth, int vectorHeight, bool useDipUnits ) : System
imageSource Xamarin
vectorWidth int
vectorHeight int
useDipUnits bool
return System