Class Path
- Namespace
- Gsk
- Assembly
- Gsk-4.0.dll
public sealed class Path : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<Path>, IDisposable
- Inheritance
-
Path
- Implements
- Inherited Members
Constructors
Path(PathOwnedHandle)
public Path(PathOwnedHandle handle)
Parameters
handlePathOwnedHandle
Properties
Handle
public PathOwnedHandle Handle { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(Path?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Path? other)
Parameters
otherPathAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
Foreach(PathForeachFlags, PathForeachFunc)
[Version("4.14")]
public bool Foreach(PathForeachFlags flags, PathForeachFunc func)
Parameters
flagsPathForeachFlagsfuncPathForeachFunc
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
InFill(Point, FillRule)
[Version("4.14")]
public bool InFill(Point point, FillRule fillRule)
Parameters
Returns
IsClosed()
[Version("4.14")]
public bool IsClosed()
Returns
IsEmpty()
[Version("4.14")]
public bool IsEmpty()
Returns
Parse(string)
[Version("4.14")]
public static Path? Parse(string @string)
Parameters
stringstring
Returns
Print(String)
[Version("4.14")]
public void Print(String @string)
Parameters
stringString
Ref()
[Version("4.14")]
public Path Ref()
Returns
ToCairo(Context)
[Version("4.14")]
public void ToCairo(Context cr)
Parameters
crContext
ToString()
[Version("4.14")]
public string ToString()
Returns
Unref()
[Version("4.14")]
public void Unref()