Język

TransformedBitmap Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy TransformedBitmap.

Przeciążenia

Nazwa Opis
TransformedBitmap()

Inicjuje nowe wystąpienie klasy TransformedBitmap.

TransformedBitmap(BitmapSource, Transform)

Inicjuje TransformedBitmap nowe wystąpienie klasy, która ma określony Source parametr i Transform.

TransformedBitmap()

Inicjuje nowe wystąpienie klasy TransformedBitmap.

public:
 TransformedBitmap();
public TransformedBitmap();
Public Sub New ()

Uwagi

TransformedBitmap implementuje ISupportInitialize interfejs w celu optymalizacji inicjowania na wielu właściwościach. Aby zainicjować utworzony przy użyciu tego konstruktora TransformedBitmap , należy wykonać inicjowanie właściwości między wywołaniami BeginInit i EndInit .

Dotyczy

TransformedBitmap(BitmapSource, Transform)

Inicjuje TransformedBitmap nowe wystąpienie klasy, która ma określony Source parametr i Transform.

public:
 TransformedBitmap(System::Windows::Media::Imaging::BitmapSource ^ source, System::Windows::Media::Transform ^ newTransform);
public TransformedBitmap(System.Windows.Media.Imaging.BitmapSource source, System.Windows.Media.Transform newTransform);
new System.Windows.Media.Imaging.TransformedBitmap : System.Windows.Media.Imaging.BitmapSource * System.Windows.Media.Transform -> System.Windows.Media.Imaging.TransformedBitmap
Public Sub New (source As BitmapSource, newTransform As Transform)

Parametry

source
BitmapSource

Wystąpienie Source nowego TransformedBitmap .

newTransform
Transform

Wystąpienie Transform nowego TransformedBitmap .

Wyjątki

Parametr source jest null.

Parametr newTransform jest null.

— lub —

Transformacja nie jest przekształceniem ortogonalnym.

Uwagi

TransformedBitmap obiekty utworzone przy użyciu tego konstruktora są inicjowane automatycznie. Po zainicjowaniu zmiany właściwości są ignorowane.

Dotyczy