Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public TextureBrush(Image image, RectangleF dstRect, ImageAttributes imageAttr) { if (image == null) { throw new ArgumentNullException("image"); } IntPtr attr = imageAttr == null ? IntPtr.Zero : imageAttr.NativeObject; Status status = GDIPlus.GdipCreateTextureIA(image.nativeObject, attr, dstRect.X, dstRect.Y, dstRect.Width, dstRect.Height, out nativeObject); GDIPlus.CheckStatus(status); }