SKPaintExtensions.CreateCopy(SKPaint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a deep copy of a SkiaSharp paint object.
public:
[System::Runtime::CompilerServices::Extension]
static SkiaSharp::SKPaint ^ CreateCopy(SkiaSharp::SKPaint ^ paint);
public static SkiaSharp.SKPaint CreateCopy(this SkiaSharp.SKPaint paint);
static member CreateCopy : SkiaSharp.SKPaint -> SkiaSharp.SKPaint
<Extension()>
Public Function CreateCopy (paint As SKPaint) As SKPaint
Parameters
- paint
- SKPaint
The paint object to copy.
Returns
A new paint object with the same properties as the original, or null if the input is null.