Search Results for

    Show / Hide Table of Contents

    Class PointFeature

    Feature representing a point on the map

    Inheritance
    object
    BaseFeature
    PointFeature
    Implements
    IFeature
    ICloneable
    Inherited Members
    BaseFeature.Id
    BaseFeature.Styles
    BaseFeature.Fields
    BaseFeature.Data
    BaseFeature.this[string]
    BaseFeature.Modified()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Layers
    Assembly: Mapsui.dll
    Syntax
    public class PointFeature : BaseFeature, IFeature, ICloneable

    Constructors

    | Edit this page View Source

    PointFeature(PointFeature)

    Declaration
    public PointFeature(PointFeature pointFeature)
    Parameters
    Type Name Description
    PointFeature pointFeature
    | Edit this page View Source

    PointFeature(MPoint)

    Declaration
    public PointFeature(MPoint point)
    Parameters
    Type Name Description
    MPoint point
    | Edit this page View Source

    PointFeature(double, double)

    Declaration
    public PointFeature(double x, double y)
    Parameters
    Type Name Description
    double x
    double y
    | Edit this page View Source

    PointFeature((double x, double y))

    Declaration
    public PointFeature((double x, double y) point)
    Parameters
    Type Name Description
    (double x, double y) point

    Properties

    | Edit this page View Source

    Extent

    Extent of feature

    Declaration
    public override MRect Extent { get; }
    Property Value
    Type Description
    MRect
    Overrides
    BaseFeature.Extent
    | Edit this page View Source

    Point

    The location of the feature.

    Declaration
    public MPoint Point { get; }
    Property Value
    Type Description
    MPoint

    Methods

    | Edit this page View Source

    Clone()

    Creates a new object that is a copy of the current instance.

    Declaration
    public override object Clone()
    Returns
    Type Description
    object

    A new object that is a copy of this instance.

    Overrides
    BaseFeature.Clone()
    | Edit this page View Source

    CoordinateVisitor(Action<double, double, CoordinateSetter>)

    Implementation of visitor pattern for coordinates

    Declaration
    public override void CoordinateVisitor(Action<double, double, CoordinateSetter> visit)
    Parameters
    Type Name Description
    Action<double, double, CoordinateSetter> visit
    Overrides
    BaseFeature.CoordinateVisitor(Action<double, double, CoordinateSetter>)

    Implements

    IFeature
    ICloneable

    Extension Methods

    FeatureExtensions.ToDisplayText(IFeature)
    FeatureExtensions.ToStringOfKeyValuePairs(IFeature)
    FeatureExtensions.Copy<T>(T)
    DisposableExtension.DisposeIfDisposable(object?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX