C# Class FFImageLoading.Svg.Forms.SvgImageSource

SVG image source.
Inheritance: Xamarin.Forms.ImageSource, IVectorImageSource
Afficher le fichier Open project: daniel-luberda/FFImageLoading Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat SvgImageSource

FromStream() public static méthode

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.
Résultat SvgImageSource

FromUri() public static méthode

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.
Résultat SvgImageSource

GetVectorDataResolver() public méthode

public GetVectorDataResolver ( ) : IVectorDataResolver
Résultat IVectorDataResolver

SvgImageSource() public méthode

public SvgImageSource ( Xamarin imageSource, int vectorWidth, int vectorHeight, bool useDipUnits ) : System
imageSource Xamarin
vectorWidth int
vectorHeight int
useDipUnits bool
Résultat System