Class PointSizeSwap
A utility class for temporarily changing the point size and restoring it when disposed.
public class PointSizeSwap : IDisposable
- Inheritance
-
PointSizeSwap
- Implements
- Inherited Members
- Extension Methods
Constructors
PointSizeSwap(double)
Initializes a new instance of the PointSizeSwap class.
public PointSizeSwap(double pointSize)
Parameters
pointSize
doubleThe new point size to set.
Properties
PrePointSize
Gets the previous point size value that will be restored on disposal.
public float PrePointSize { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposing
bool