[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.BitmapBrush1

Class BitmapBrush1

Namespace
GrapeCity.Documents.DX.Direct2D
Assembly
GcDocs.DX.Windows.dll

ID2D1BitmapBrush1

[Guid("41343a53-e41a-49a2-91cd-21793bbb62e5")]
public class BitmapBrush1 : BitmapBrush, IDisposable, IUnknown
Inheritance
object
BitmapBrush1
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

BitmapBrush1(IntPtr)

Initializes a new instance of the BitmapBrush1 class.

public BitmapBrush1(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(DeviceContext, Bitmap1, BitmapBrushProperties1)

Creates an BitmapBrush from the specified bitmap.

public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap, BitmapBrushProperties1 bitmapBrushProperties)

Parameters

deviceContext DeviceContext

an instance of DeviceContext

bitmap Bitmap1

The 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.

Returns

BitmapBrush1

Create(DeviceContext, Bitmap1, BrushProperties)

Creates an BitmapBrush from the specified bitmap.

public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap, BrushProperties brushProperties)

Parameters

deviceContext DeviceContext

an instance of DeviceContext

bitmap Bitmap1

The bitmap contents of the new brush.

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.

Returns

BitmapBrush1

Create(DeviceContext, Bitmap1, BitmapBrushProperties1?, BrushProperties?)

Creates an BitmapBrush from the specified bitmap.

public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap, BitmapBrushProperties1? bitmapBrushProperties, BrushProperties? brushProperties)

Parameters

deviceContext DeviceContext

an instance of DeviceContext

bitmap Bitmap1

The 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.

Returns

BitmapBrush1

Create(DeviceContext, Bitmap1)

Creates an BitmapBrush from the specified bitmap.

public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap)

Parameters

deviceContext DeviceContext

an instance of DeviceContext

bitmap Bitmap1

The bitmap contents of the new brush.

Returns

BitmapBrush1

GetInterpolationMode1()

D2D1_INTERPOLATION_MODE ID2D1BitmapBrush1::GetInterpolationMode1()

public InterpolationMode GetInterpolationMode1()

Returns

InterpolationMode

SetInterpolationMode1(InterpolationMode)

void ID2D1BitmapBrush1::SetInterpolationMode1([In] D2D1_INTERPOLATION_MODE interpolationMode)

public void SetInterpolationMode1(InterpolationMode interpolationMode)

Parameters

interpolationMode InterpolationMode

Operators

explicit operator BitmapBrush1(IntPtr)

Performs an explicit conversion from System.IntPtr to BitmapBrush1.

public static explicit operator BitmapBrush1(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

BitmapBrush1