Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public TextureBrush(Image image, WrapMode wrapMode) { if (image == null) { throw new ArgumentNullException("image"); } if ((wrapMode < WrapMode.Tile) || (wrapMode > WrapMode.Clamp)) { throw new InvalidEnumArgumentException("WrapMode"); } Status status = GDIPlus.GdipCreateTexture(image.nativeObject, wrapMode, out nativeObject); GDIPlus.CheckStatus(status); }