Class Geometry
Implements abstract Geometry generator
Inheritance
System.Object
Geometry
Inherited Members
Namespace: EmptyKeys.UserInterface.Media
Assembly: EmptyKeys.UserInterface.dll
Syntax
public abstract class Geometry : Freezable
Constructors
Geometry()
Initializes a new instance of the Geometry class.
Declaration
public Geometry()
Properties
Bounds
Gets the bounds.
Declaration
public abstract Rect Bounds { get; }
Property Value
Type | Description |
---|---|
EmptyKeys.UserInterface.Rect | The bounds. |
Methods
Contains(PointF)
Determines whether [contains] [the specified local point].
Declaration
public abstract bool Contains(PointF localPoint)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.PointF | localPoint | The local point. |
Returns
Type | Description |
---|---|
System.Boolean |
GetFillGeometryData(Single, out GeometryPrimitiveType)
Gets the fill geometry data.
Declaration
public abstract List<PointF> GetFillGeometryData(float strokeThickness, out GeometryPrimitiveType primitiveType)
Parameters
Type | Name | Description |
---|---|---|
System.Single | strokeThickness | The stroke thickness. |
EmptyKeys.UserInterface.Media.GeometryPrimitiveType | primitiveType | Type of the primitive. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<EmptyKeys.UserInterface.PointF> |
GetStrokeGeometryData(Single, out GeometryPrimitiveType)
Gets the stroke geometry data.
Declaration
public abstract List<PointF> GetStrokeGeometryData(float thickness, out GeometryPrimitiveType primitiveType)
Parameters
Type | Name | Description |
---|---|---|
System.Single | thickness | The thickness. |
EmptyKeys.UserInterface.Media.GeometryPrimitiveType | primitiveType | Type of the primitive. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<EmptyKeys.UserInterface.PointF> |
IsEmpty()
Determines whether this instance is empty.
Declaration
public abstract bool IsEmpty()
Returns
Type | Description |
---|---|
System.Boolean |
MayHaveCurves()
Mays the have curves, like rounded corners etc.
Declaration
public abstract bool MayHaveCurves()
Returns
Type | Description |
---|---|
System.Boolean |