[]
ID2D1BitmapBrush1
[Guid("41343a53-e41a-49a2-91cd-21793bbb62e5")]
public class BitmapBrush1 : BitmapBrush, IDisposable, IUnknown
Initializes a new instance of the BitmapBrush1 class.
public BitmapBrush1(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap, BitmapBrushProperties1 bitmapBrushProperties)
deviceContext
DeviceContextan instance of DeviceContext
bitmap
Bitmap1The bitmap contents of the new brush.
bitmapBrushProperties
BitmapBrushProperties1The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the Clamp horizontal and vertical extend modes and the Linear interpolation mode.
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap, BrushProperties brushProperties)
deviceContext
DeviceContextan instance of DeviceContext
bitmap
Bitmap1The bitmap contents of the new brush.
brushProperties
BrushPropertiesThe opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix.
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap, BitmapBrushProperties1? bitmapBrushProperties, BrushProperties? brushProperties)
deviceContext
DeviceContextan instance of DeviceContext
bitmap
Bitmap1The bitmap contents of the new brush.
bitmapBrushProperties
BitmapBrushProperties1?The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the Clamp horizontal and vertical extend modes and the Linear interpolation mode.
brushProperties
BrushProperties?The opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix.
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap)
deviceContext
DeviceContextan instance of DeviceContext
bitmap
Bitmap1The bitmap contents of the new brush.
D2D1_INTERPOLATION_MODE ID2D1BitmapBrush1::GetInterpolationMode1()
public InterpolationMode GetInterpolationMode1()
void ID2D1BitmapBrush1::SetInterpolationMode1([In] D2D1_INTERPOLATION_MODE interpolationMode)
public void SetInterpolationMode1(InterpolationMode interpolationMode)
interpolationMode
InterpolationModePerforms an explicit conversion from System.IntPtr to BitmapBrush1.
public static explicit operator BitmapBrush1(IntPtr nativePointer)
nativePointer
System.IntPtr