Show / Hide Table of Contents

    Class LimitedViewport

    Inheritance
    System.Object
    LimitedViewport
    Implements
    IViewport
    IReadOnlyViewport
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Mapsui
    Assembly: Mapsui.dll
    Syntax
    public class LimitedViewport : IViewport, IReadOnlyViewport

    Constructors

    | Improve this Doc View Source

    LimitedViewport()

    Declaration
    public LimitedViewport()

    Properties

    | Improve this Doc View Source

    Center

    Declaration
    public ReadOnlyPoint Center { get; }
    Property Value
    Type Description
    ReadOnlyPoint
    | Improve this Doc View Source

    Extent

    Declaration
    public BoundingBox Extent { get; }
    Property Value
    Type Description
    BoundingBox
    | Improve this Doc View Source

    HasSize

    Declaration
    public bool HasSize { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Height

    Declaration
    public double Height { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    IsRotated

    Declaration
    public bool IsRotated { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Limiter

    Declaration
    public IViewportLimiter Limiter { get; set; }
    Property Value
    Type Description
    IViewportLimiter
    | Improve this Doc View Source

    Map

    Declaration
    public Map Map { get; set; }
    Property Value
    Type Description
    Map
    | Improve this Doc View Source

    Resolution

    Declaration
    public double Resolution { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Rotation

    Declaration
    public double Rotation { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Width

    Declaration
    public double Width { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    WindowExtent

    Declaration
    public Quad WindowExtent { get; }
    Property Value
    Type Description
    Quad

    Methods

    | Improve this Doc View Source

    ScreenToWorld(Point)

    Declaration
    public Point ScreenToWorld(Point position)
    Parameters
    Type Name Description
    Point position
    Returns
    Type Description
    Point
    | Improve this Doc View Source

    ScreenToWorld(Double, Double)

    Declaration
    public Point ScreenToWorld(double x, double y)
    Parameters
    Type Name Description
    System.Double x
    System.Double y
    Returns
    Type Description
    Point
    | Improve this Doc View Source

    SetCenter(ReadOnlyPoint)

    Declaration
    public void SetCenter(ReadOnlyPoint center)
    Parameters
    Type Name Description
    ReadOnlyPoint center
    | Improve this Doc View Source

    SetCenter(Double, Double)

    Declaration
    public virtual void SetCenter(double x, double y)
    Parameters
    Type Name Description
    System.Double x
    System.Double y
    | Improve this Doc View Source

    SetResolution(Double)

    Declaration
    public void SetResolution(double resolution)
    Parameters
    Type Name Description
    System.Double resolution
    | Improve this Doc View Source

    SetResolution(Double, ReadOnlyPoint)

    Declaration
    public void SetResolution(double resolution, ReadOnlyPoint centerOfZoom)
    Parameters
    Type Name Description
    System.Double resolution
    ReadOnlyPoint centerOfZoom
    | Improve this Doc View Source

    SetRotation(Double)

    Declaration
    public void SetRotation(double rotation)
    Parameters
    Type Name Description
    System.Double rotation
    | Improve this Doc View Source

    SetSize(Double, Double)

    Declaration
    public void SetSize(double width, double height)
    Parameters
    Type Name Description
    System.Double width
    System.Double height
    | Improve this Doc View Source

    Transform(Point, Point, Double, Double)

    Declaration
    public void Transform(Point position, Point previousPosition, double deltaResolution = 1, double deltaRotation = 0)
    Parameters
    Type Name Description
    Point position
    Point previousPosition
    System.Double deltaResolution
    System.Double deltaRotation
    | Improve this Doc View Source

    WorldToScreen(Point)

    Declaration
    public Point WorldToScreen(Point worldPosition)
    Parameters
    Type Name Description
    Point worldPosition
    Returns
    Type Description
    Point
    | Improve this Doc View Source

    WorldToScreen(Double, Double)

    Declaration
    public Point WorldToScreen(double worldX, double worldY)
    Parameters
    Type Name Description
    System.Double worldX
    System.Double worldY
    Returns
    Type Description
    Point
    | Improve this Doc View Source

    WorldToScreenUnrotated(Point)

    Declaration
    public Point WorldToScreenUnrotated(Point worldPosition)
    Parameters
    Type Name Description
    Point worldPosition
    Returns
    Type Description
    Point
    | Improve this Doc View Source

    WorldToScreenUnrotated(Double, Double)

    Declaration
    public Point WorldToScreenUnrotated(double worldX, double worldY)
    Parameters
    Type Name Description
    System.Double worldX
    System.Double worldY
    Returns
    Type Description
    Point

    Events

    | Improve this Doc View Source

    ViewportChanged

    Declaration
    public event PropertyChangedEventHandler ViewportChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    IViewport
    IReadOnlyViewport

    Extension Methods

    ViewportExtensions.ToSKMatrix(IViewport)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX