Class AttrShapeHandle
public abstract class AttrShapeHandle : SafeHandle, IDisposable
- Inheritance
-
AttrShapeHandle
- Implements
- Derived
- Inherited Members
Constructors
AttrShapeHandle(bool)
protected AttrShapeHandle(bool ownsHandle)
Parameters
ownsHandlebool
Properties
IsInvalid
When overridden in a derived class, gets a value indicating whether the handle value is invalid.
public override sealed bool IsInvalid { get; }
Property Value
Methods
Equals(AttrShapeHandle?)
public bool Equals(AttrShapeHandle? other)
Parameters
otherAttrShapeHandle
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
GetAttr()
public AttributeData GetAttr()
Returns
GetCopyFunc()
public AttrDataCopyFunc GetCopyFunc()
Returns
GetData()
public nint GetData()
Returns
GetDestroyFunc()
public DestroyNotify GetDestroyFunc()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetInkRect()
public RectangleData GetInkRect()
Returns
GetLogicalRect()
public RectangleData GetLogicalRect()
Returns
SetAttr(AttributeData)
public void SetAttr(AttributeData value)
Parameters
valueAttributeData
SetCopyFunc(AttrDataCopyFunc)
public void SetCopyFunc(AttrDataCopyFunc value)
Parameters
valueAttrDataCopyFunc
SetData(nint)
public void SetData(nint value)
Parameters
valuenint
SetDestroyFunc(DestroyNotify)
public void SetDestroyFunc(DestroyNotify value)
Parameters
valueDestroyNotify
SetInkRect(RectangleData)
public void SetInkRect(RectangleData value)
Parameters
valueRectangleData
SetLogicalRect(RectangleData)
public void SetLogicalRect(RectangleData value)
Parameters
valueRectangleData