Show / Hide Table of Contents

Class IgbDataAnnotationShapeLayer

Represents a base annotation layer that renders shapes defined by derived data annotation, e.g. line, strip, slice, rect, band

Inheritance
System.Object
BaseRendererElement
IgbSeries
IgbAnnotationLayer
IgbDataAnnotationAxisLayer
IgbDataAnnotationShapeLayer
IgbDataAnnotationRangeLayer
IgbDataAnnotationSliceLayer
Implements
JsonSerializable
System.IDisposable
Inherited Members
IgbDataAnnotationAxisLayer.BindAxes(IgbAxis[])
IgbDataAnnotationAxisLayer.AnnotationLabelDisplayMode
IgbDataAnnotationAxisLayer.AnnotationLabelVisible
IgbDataAnnotationAxisLayer.AnnotationTextColor
IgbDataAnnotationAxisLayer.AnnotationTextColorMode
IgbDataAnnotationAxisLayer.AnnotationTextColorShift
IgbDataAnnotationAxisLayer.AnnotationTextColorMatchLayer
IgbDataAnnotationAxisLayer.AnnotationBackground
IgbDataAnnotationAxisLayer.AnnotationBorderRadius
IgbDataAnnotationAxisLayer.AnnotationBackgroundMode
IgbDataAnnotationAxisLayer.AnnotationBackgroundShift
IgbDataAnnotationAxisLayer.AnnotationBackgroundMatchLayer
IgbDataAnnotationAxisLayer.AnnotationBorderMatchLayer
IgbDataAnnotationAxisLayer.AnnotationBorderColor
IgbDataAnnotationAxisLayer.AnnotationBorderMode
IgbDataAnnotationAxisLayer.AnnotationBorderShift
IgbDataAnnotationAxisLayer.AnnotationPaddingBottom
IgbDataAnnotationAxisLayer.AnnotationPaddingLeft
IgbDataAnnotationAxisLayer.AnnotationPaddingRight
IgbDataAnnotationAxisLayer.AnnotationPaddingTop
IgbDataAnnotationAxisLayer.AnnotationBorderThickness
IgbDataAnnotationAxisLayer.AnnotationValueMaxPrecision
IgbDataAnnotationAxisLayer.AnnotationValueMinPrecision
IgbDataAnnotationAxisLayer.TargetAxis
IgbDataAnnotationAxisLayer.TargetAxisScript
IgbDataAnnotationAxisLayer.TargetAxisName
IgbDataAnnotationAxisLayer.TargetMode
IgbDataAnnotationAxisLayer.AnnotationBadgeEnabled
IgbDataAnnotationAxisLayer.AnnotationBadgeBackground
IgbDataAnnotationAxisLayer.AnnotationBadgeOutline
IgbDataAnnotationAxisLayer.AnnotationBadgeOutlineThickness
IgbDataAnnotationAxisLayer.AnnotationBadgeCornerRadius
IgbDataAnnotationAxisLayer.AnnotationBadgeImagePath
IgbDataAnnotationAxisLayer.AnnotationBadgeSize
IgbDataAnnotationAxisLayer.AnnotationBadgeMargin
IgbAnnotationLayer.UseIndex
IgbAnnotationLayer.UseLegend
IgbAnnotationLayer.CursorPosition
IgbAnnotationLayer.CursorPositionUpdatesOnMove
IgbAnnotationLayer.IsDefaultCrosshairDisabled
IgbAnnotationLayer.AppearanceMode
IgbAnnotationLayer.ActualAppearanceMode
IgbAnnotationLayer.ShiftAmount
IgbAnnotationLayer.ActualShiftAmount
IgbAnnotationLayer.HorizontalAppearanceMode
IgbAnnotationLayer.ActualHorizontalAppearanceMode
IgbAnnotationLayer.VerticalAppearanceMode
IgbAnnotationLayer.ActualVerticalAppearanceMode
IgbAnnotationLayer.HorizontalShiftAmount
IgbAnnotationLayer.ActualHorizontalShiftAmount
IgbAnnotationLayer.VerticalShiftAmount
IgbAnnotationLayer.ActualVerticalShiftAmount
IgbAnnotationLayer.HorizontalDashArray
IgbAnnotationLayer.ActualHorizontalDashArray
IgbAnnotationLayer.VerticalDashArray
IgbAnnotationLayer.ActualVerticalDashArray
IgbAnnotationLayer.ActualDashArray
IgbAnnotationLayer.ActualDashCap
IgbAnnotationLayer.ShouldRenderAsOverlay
IgbSeries.Dispose()
IgbSeries.OnInitializedAsync()
IgbSeries.BindSeries(IgbSeries[])
IgbSeries.ResolveTooltipBrushAsync()
IgbSeries.ResolveTooltipBrush()
IgbSeries.GetItemValueAsync(Object, String)
IgbSeries.GetItemValue(Object, String)
IgbSeries.GetMemberPathValueAsync(String)
IgbSeries.GetMemberPathValue(String)
IgbSeries.GetExactItemIndexAsync(Point)
IgbSeries.GetExactItemIndex(Point)
IgbSeries.GetItemIndexAsync(Point)
IgbSeries.GetItemIndex(Point)
IgbSeries.GetItemAsync(Point)
IgbSeries.GetItem(Point)
IgbSeries.GetPreviousOrExactIndexAsync(Point, Boolean)
IgbSeries.GetPreviousOrExactIndex(Point, Boolean)
IgbSeries.GetNextOrExactIndexAsync(Point, Boolean)
IgbSeries.GetNextOrExactIndex(Point, Boolean)
IgbSeries.GetSeriesValueAsync(Point, Boolean, Boolean)
IgbSeries.GetSeriesValue(Point, Boolean, Boolean)
IgbSeries.GetSeriesValuePositionAsync(Point, Boolean, Boolean)
IgbSeries.GetSeriesValuePosition(Point, Boolean, Boolean)
IgbSeries.GetSeriesValueBoundingBoxAsync(Point)
IgbSeries.GetSeriesValueBoundingBox(Point)
IgbSeries.GetSeriesValueMarkerBoundingBoxAsync(Point)
IgbSeries.GetSeriesValueMarkerBoundingBox(Point)
IgbSeries.GetSeriesHighValueAsync(Point, Boolean, Boolean)
IgbSeries.GetSeriesHighValue(Point, Boolean, Boolean)
IgbSeries.GetSeriesHighValuePositionAsync(Point, Boolean, Boolean)
IgbSeries.GetSeriesHighValuePosition(Point, Boolean, Boolean)
IgbSeries.GetSeriesLowValueAsync(Point, Boolean, Boolean)
IgbSeries.GetSeriesLowValue(Point, Boolean, Boolean)
IgbSeries.GetSeriesLowValuePositionAsync(Point, Boolean, Boolean)
IgbSeries.GetSeriesLowValuePosition(Point, Boolean, Boolean)
IgbSeries.GetSeriesValuePositionFromSeriesPixelAsync(Point, Boolean, Boolean)
IgbSeries.GetSeriesValuePositionFromSeriesPixel(Point, Boolean, Boolean)
IgbSeries.GetSeriesValueFromSeriesPixelAsync(Point, Boolean, Boolean)
IgbSeries.GetSeriesValueFromSeriesPixel(Point, Boolean, Boolean)
IgbSeries.GetItemSpanAsync()
IgbSeries.GetItemSpan()
IgbSeries.GetSeriesValueTypeAsync(ValueLayerValueMode)
IgbSeries.GetSeriesValueType(ValueLayerValueMode)
IgbSeries.GetSeriesValueTypePositionAsync(ValueLayerValueMode)
IgbSeries.GetSeriesValueTypePosition(ValueLayerValueMode)
IgbSeries.HideToolTipsAsync()
IgbSeries.HideToolTips()
IgbSeries.HideToolTipsImmediateAsync()
IgbSeries.HideToolTipsImmediate()
IgbSeries.ToWorldPositionAsync(Point)
IgbSeries.ToWorldPosition(Point)
IgbSeries.ToWorldRectAsync(Rect)
IgbSeries.ToWorldRect(Rect)
IgbSeries.FromWorldPositionAsync(Point)
IgbSeries.FromWorldPosition(Point)
IgbSeries.ScrollIntoViewAsync(Object)
IgbSeries.ScrollIntoView(Object)
IgbSeries.RenderSeriesAsync(Boolean)
IgbSeries.RenderSeries(Boolean)
IgbSeries.GetMainContentViewportAsync()
IgbSeries.GetMainContentViewport()
IgbSeries.GetEffectiveViewportAsync()
IgbSeries.GetEffectiveViewport()
IgbSeries.RemoveAllAlternateViewsAsync()
IgbSeries.RemoveAllAlternateViews()
IgbSeries.RemoveAlternateViewAsync(String)
IgbSeries.RemoveAlternateView(String)
IgbSeries.NotifyIndexedPropertiesChangedAsync()
IgbSeries.NotifyIndexedPropertiesChanged()
IgbSeries.NotifyVisualPropertiesChangedAsync()
IgbSeries.NotifyVisualPropertiesChanged()
IgbSeries.ReplayTransitionInAsync()
IgbSeries.ReplayTransitionIn()
IgbSeries.PlayTransitionOutAsync()
IgbSeries.PlayTransitionOut()
IgbSeries.PlayTransitionInAsync()
IgbSeries.PlayTransitionIn()
IgbSeries.PlayTransitionOutAndRemoveAsync()
IgbSeries.PlayTransitionOutAndRemove()
IgbSeries.RemoveAxesAsync()
IgbSeries.RemoveAxes()
IgbSeries.SimulateHoverAsync(Point)
IgbSeries.SimulateHover(Point)
IgbSeries.StyleUpdatedAsync()
IgbSeries.StyleUpdated()
IgbSeries.SetNegativeColorsAsync(String, String)
IgbSeries.SetNegativeColors(String, String)
IgbSeries.MoveCursorPointAsync(Point)
IgbSeries.MoveCursorPoint(Point)
IgbSeries.GetUnscaledPositionAsync(Point)
IgbSeries.GetUnscaledPosition(Point)
IgbSeries.SeriesViewerParent
IgbSeries.Title
IgbSeries.TooltipTemplate
IgbSeries.DataLegendGroup
IgbSeries.HighlightedValuesDataLegendGroup
IgbSeries.HighlightedValuesExtraPropertyOverlays
IgbSeries.DataSource
IgbSeries.DataSourceScript
IgbSeries.HighlightedDataSource
IgbSeries.HighlightedDataSourceScript
IgbSeries.Legend
IgbSeries.LegendScript
IgbSeries.LegendItemVisibility
IgbSeries.LegendItemBadgeTemplate
IgbSeries.LegendItemBadgeTemplateScript
IgbSeries.ActualLegendItemBadgeTemplate
IgbSeries.ActualLegendItemBadgeTemplateScript
IgbSeries.ActualLegendItemBadgeOutline
IgbSeries.ActualLegendItemBadgeBrush
IgbSeries.LegendItemBadgeShape
IgbSeries.LegendItemBadgeMode
IgbSeries.LegendItemTemplate
IgbSeries.LegendItemTemplateScript
IgbSeries.DiscreteLegendItemTemplate
IgbSeries.DiscreteLegendItemTemplateScript
IgbSeries.Index
IgbSeries.TransitionEasingFunction
IgbSeries.TransitionEasingFunctionScript
IgbSeries.TransitionInEasingFunction
IgbSeries.TransitionInEasingFunctionScript
IgbSeries.TransitionOutEasingFunction
IgbSeries.TransitionOutEasingFunctionScript
IgbSeries.TransitionDuration
IgbSeries.ActualResolution
IgbSeries.Resolution
IgbSeries.VisibleRangeMarginTop
IgbSeries.VisibleRangeMarginBottom
IgbSeries.VisibleRangeMarginLeft
IgbSeries.VisibleRangeMarginRight
IgbSeries.HighlightedTitleSuffix
IgbSeries.HighlightedLegendItemVisibility
IgbSeries.Brush
IgbSeries.ActualBrush
IgbSeries.SelectionBrush
IgbSeries.FocusBrush
IgbSeries.ActualSelectionBrush
IgbSeries.ActualFocusBrush
IgbSeries.SafeActualBrush
IgbSeries.Outline
IgbSeries.ActualOutline
IgbSeries.LineJoin
IgbSeries.HighlightedValuesDisplayMode
IgbSeries.ShouldAnimateOnDataSourceSwap
IgbSeries.Thickness
IgbSeries.ActualThickness
IgbSeries.DashArray
IgbSeries.SelectionThickness
IgbSeries.ActualHighlightingMode
IgbSeries.ActualSelectionMode
IgbSeries.ActualFocusMode
IgbSeries.ActualHighlightedValuesFadeOpacity
IgbSeries.HighlightedValuesFadeOpacity
IgbSeries.ActualHighlightingFadeOpacity
IgbSeries.HighlightingFadeOpacity
IgbSeries.IsActualLegendFinancial
IgbSeries.IsComponentHighlightingModeIgnored
IgbSeries.IsHighlightingEnabled
IgbSeries.UseItemWiseColors
IgbSeries.ShouldShiftOpacityForSafeActualBrush
IgbSeries.ShouldRemoveHighlightedDataOnLayerHidden
IgbSeries.ShouldHideAutoCallouts
IgbSeries.IsDropShadowEnabled
IgbSeries.ShadowBlur
IgbSeries.ShadowColor
IgbSeries.UseSingleShadow
IgbSeries.ShadowOffsetX
IgbSeries.ShadowOffsetY
IgbSeries.AreaFillOpacity
IgbSeries.ActualAreaFillOpacity
IgbSeries.MarkerFillOpacity
IgbSeries.ActualMarkerFillOpacity
IgbSeries.IsDefaultToolTipSelected
IgbSeries.ShowDefaultTooltip
IgbSeries.AttachTooltipToRoot
IgbSeries.VisibleRangeMode
IgbSeries.OutlineMode
IgbSeries.TransitionInDuration
IgbSeries.TransitionOutDuration
IgbSeries.TransitionInSpeedType
IgbSeries.TransitionOutSpeedType
IgbSeries.LineCap
IgbSeries.AutoCalloutLabelFormat
IgbSeries.AutoCalloutLabelFormatSpecifiers
IgbSeries.AutoCalloutValueLabelFormat
IgbSeries.AutoCalloutValueLabelFormatSpecifiers
IgbSeries.MouseOverEnabled
IgbSeries.CoercionMethods
IgbSeries.CoercionMethodsScript
IgbSeries.ExpectFunctions
IgbSeries.HitTestMode
IgbSeries.ActualHitTestMode
IgbSeries.FinalValue
IgbSeries.PercentChange
IgbSeries.Layers
IgbSeries.ActualLayers
IgbSeries.Opacity
IgbSeries.Visibility
IgbSeries.TransitionOutCompletedScript
IgbSeries.TransitionOutCompleted
IgbSeries.RenderRequestedScript
IgbSeries.RenderRequested
BaseRendererElement._name
BaseRendererElement.eventCallbacksCache
BaseRendererElement._cachedSerializedContent
BaseRendererElement.EnsureModulesLoaded()
BaseRendererElement.BuildRenderTree(RenderTreeBuilder)
BaseRendererElement.OnElementNameChanged(BaseRendererElement, String, String)
BaseRendererElement.InvokeMethod(String, Object[], String[], ElementReference[])
BaseRendererElement.InvokeMethodSync(String, Object[], String[], ElementReference[])
BaseRendererElement.InvokeMethodHelper(String, String, Object[], String[], ElementReference[])
BaseRendererElement.InvokeMethodHelperSync(String, String, Object[], String[], ElementReference[])
BaseRendererElement.IsPropDirty(String)
BaseRendererElement.Serialize(SerializationContext, String)
BaseRendererElement.Serialize()
BaseRendererElement.EnsureValid()
BaseRendererElement.FromEventJson(BaseRendererControl, Dictionary<String, Object>)
BaseRendererElement.ToEventJson(BaseRendererControl, Dictionary<String, Object>)
BaseRendererElement.SetResourceStringAsync(String, String, String)
BaseRendererElement.SetResourceStringAsync(String, String)
BaseRendererElement.CompareEventCallbacks<T>(T, T, Dictionary<Type, Dictionary<String, FieldInfo>>)
BaseRendererElement.IgBlazor
BaseRendererElement.IsComponentRooted
BaseRendererElement.ParentTypeName
BaseRendererElement.UseDirectRender
BaseRendererElement.ChildContent
BaseRendererElement.SupportsVisualChildren
BaseRendererElement.Name
BaseRendererElement.Parent
BaseRendererElement.MethodTarget
BaseRendererElement.CurrParent
Namespace: IgniteUI.Blazor.Controls
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbDataAnnotationShapeLayer : IgbDataAnnotationAxisLayer, JsonSerializable, IDisposable

Constructors

IgbDataAnnotationShapeLayer()

Declaration
public IgbDataAnnotationShapeLayer()

Properties

AnnotationShapeVisible

Gets or sets whether to draw shape of annotations in the plot area

Declaration
public bool AnnotationShapeVisible { get; set; }
Property Value
Type Description
System.Boolean

IsTargetingHorizontalAxis

Gets whether the annotation layer is currently targeting horizontal axis.

Declaration
public bool IsTargetingHorizontalAxis { get; set; }
Property Value
Type Description
System.Boolean

ItemsUseWorldCoordinates

Gets or sets whether the data items of the annotations use world coordinates (0.0 - 1.0) or they default to using axes coordinates (data indexes for category axis or data values for numeric axis).

Declaration
public bool ItemsUseWorldCoordinates { get; set; }
Property Value
Type Description
System.Boolean

OverlayText

Gets or sets the text that will be displayed as the overlay annotation.

Declaration
public string OverlayText { get; set; }
Property Value
Type Description
System.String

OverlayTextAngle

Gets or sets the angle rotation (in degrees) of the overlay text in relation to shape of data annotation.

Declaration
public double OverlayTextAngle { get; set; }
Property Value
Type Description
System.Double

OverlayTextBackground

Gets or sets the background the overlay text.

Declaration
public string OverlayTextBackground { get; set; }
Property Value
Type Description
System.String

OverlayTextBackgroundMatchLayer

Gets or sets whether the overlay text background matches brush of the layer

Declaration
public bool OverlayTextBackgroundMatchLayer { get; set; }
Property Value
Type Description
System.Boolean

OverlayTextBackgroundMode

Gets or sets the mode used for shifting the background of overlay text based on the target series.

Declaration
public AnnotationAppearanceMode OverlayTextBackgroundMode { get; set; }
Property Value
Type Description
AnnotationAppearanceMode

OverlayTextBackgroundShift

Gets or sets the shift of the overlay background based on OverlayTextBackgroundMode. Value must range between -1.0 to 1.0, where 0 means no color shift.

Declaration
public double OverlayTextBackgroundShift { get; set; }
Property Value
Type Description
System.Double

OverlayTextBorderColor

Gets or sets the border stroke of the overlay text.

Declaration
public string OverlayTextBorderColor { get; set; }
Property Value
Type Description
System.String

OverlayTextBorderMatchLayer

Gets or sets whether the overlay text border matches brush of the layer

Declaration
public bool OverlayTextBorderMatchLayer { get; set; }
Property Value
Type Description
System.Boolean

OverlayTextBorderMode

Gets or sets the mode used for shifting the border of overlay text based on the target series.

Declaration
public AnnotationAppearanceMode OverlayTextBorderMode { get; set; }
Property Value
Type Description
AnnotationAppearanceMode

OverlayTextBorderRadius

Gets or sets the border corner of the overlay text.

Declaration
public double OverlayTextBorderRadius { get; set; }
Property Value
Type Description
System.Double

OverlayTextBorderShift

Gets or sets the shift of the overlay border based on OverlayTextBorderMode. Value must range between -1.0 to 1.0, where 0 means no color shift.

Declaration
public double OverlayTextBorderShift { get; set; }
Property Value
Type Description
System.Double

OverlayTextBorderThickness

Gets or sets the border thickness of the overlay text.

Declaration
public double OverlayTextBorderThickness { get; set; }
Property Value
Type Description
System.Double

OverlayTextColor

Gets or sets the color the overlay text.

Declaration
public string OverlayTextColor { get; set; }
Property Value
Type Description
System.String

OverlayTextColorMatchLayer

Gets or sets whether the overlay text color matches brush of the layer

Declaration
public bool OverlayTextColorMatchLayer { get; set; }
Property Value
Type Description
System.Boolean

OverlayTextColorMode

Gets or sets the mode used for shifting the background of overlay text based on the target series.

Declaration
public AnnotationAppearanceMode OverlayTextColorMode { get; set; }
Property Value
Type Description
AnnotationAppearanceMode

OverlayTextColorShift

Gets or sets the shift of the overlay text color based on OverlayTextColorMode. Value must range between -1.0 to 1.0, where 0 means no color shift.

Declaration
public double OverlayTextColorShift { get; set; }
Property Value
Type Description
System.Double

OverlayTextFontFamily

Declaration
public string OverlayTextFontFamily { get; set; }
Property Value
Type Description
System.String

OverlayTextFontSize

Declaration
public double OverlayTextFontSize { get; set; }
Property Value
Type Description
System.Double

OverlayTextFontStyle

Declaration
public string OverlayTextFontStyle { get; set; }
Property Value
Type Description
System.String

OverlayTextFontWeight

Declaration
public string OverlayTextFontWeight { get; set; }
Property Value
Type Description
System.String

OverlayTextHorizontalMargin

Gets or sets the horizontal margin of the overlay text in relation to shape of data annotation.

Declaration
public double OverlayTextHorizontalMargin { get; set; }
Property Value
Type Description
System.Double

OverlayTextHorizontalPadding

Gets or sets the horizontal padding of the overlay text in relation to shape of data annotation.

Declaration
public double OverlayTextHorizontalPadding { get; set; }
Property Value
Type Description
System.Double

OverlayTextLocation

Gets or sets location of the overlay text in relation to shape of data annotation.

Declaration
public OverlayTextLocation OverlayTextLocation { get; set; }
Property Value
Type Description
OverlayTextLocation

OverlayTextMemberPath

Gets or sets name of data column with text that will be displayed as overlay text.

Declaration
public string OverlayTextMemberPath { get; set; }
Property Value
Type Description
System.String

OverlayTextVerticalMargin

Gets or sets the vertical margin of the overlay text in relation to shape of data annotation.

Declaration
public double OverlayTextVerticalMargin { get; set; }
Property Value
Type Description
System.Double

OverlayTextVerticalPadding

Gets or sets the vertical padding of the overlay text in relation to shape of data annotation.

Declaration
public double OverlayTextVerticalPadding { get; set; }
Property Value
Type Description
System.Double

OverlayTextVisible

Gets or sets whether the overlay text is visible in shape of data annotation

Declaration
public bool OverlayTextVisible { get; set; }
Property Value
Type Description
System.Boolean

StylingAxisAnnotation

Declaration
public EventCallback<IgbDataAnnotationInfo> StylingAxisAnnotation { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Components.EventCallback<IgbDataAnnotationInfo>

StylingAxisAnnotationScript

Declaration
public string StylingAxisAnnotationScript { get; set; }
Property Value
Type Description
System.String

StylingOverlayText

Declaration
public EventCallback<IgbOverlayTextUpdatingEventArgs> StylingOverlayText { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Components.EventCallback<IgbOverlayTextUpdatingEventArgs>

StylingOverlayTextScript

Declaration
public string StylingOverlayTextScript { get; set; }
Property Value
Type Description
System.String

StylingShapeAnnotation

Declaration
public EventCallback<IgbDataAnnotationItem> StylingShapeAnnotation { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Components.EventCallback<IgbDataAnnotationItem>

StylingShapeAnnotationScript

Declaration
public string StylingShapeAnnotationScript { get; set; }
Property Value
Type Description
System.String

Type

Declaration
public override string Type { get; }
Property Value
Type Description
System.String
Overrides
IgbDataAnnotationAxisLayer.Type

Methods

FindByName(String)

Declaration
public override object FindByName(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
System.Object
Overrides
IgbDataAnnotationAxisLayer.FindByName(String)

FromWorld(Point)

Declaration
public Point FromWorld(Point world)
Parameters
Type Name Description
Point world
Returns
Type Description
Point

FromWorldAsync(Point)

Converts world coordinate (0.0 - 1.0) to pixel coordinate that is relative to component's size

Declaration
public Task<Point> FromWorldAsync(Point world)
Parameters
Type Name Description
Point world
Returns
Type Description
System.Threading.Tasks.Task<Point>

FromWorldX(Double)

Declaration
public double FromWorldX(double x)
Parameters
Type Name Description
System.Double x
Returns
Type Description
System.Double

FromWorldXAsync(Double)

Converts world X coordinate (0.0 - 1.0) to pixel coordinate that is relative to component's width

Declaration
public Task<double> FromWorldXAsync(double x)
Parameters
Type Name Description
System.Double x
Returns
Type Description
System.Threading.Tasks.Task<System.Double>

FromWorldY(Double)

Declaration
public double FromWorldY(double y)
Parameters
Type Name Description
System.Double y
Returns
Type Description
System.Double

FromWorldYAsync(Double)

Converts world Y coordinate (0.0 - 1.0) to pixel coordinate that is relative to component's height

Declaration
public Task<double> FromWorldYAsync(double y)
Parameters
Type Name Description
System.Double y
Returns
Type Description
System.Threading.Tasks.Task<System.Double>

ToWorld(Point)

Declaration
public Point ToWorld(Point pixel)
Parameters
Type Name Description
Point pixel
Returns
Type Description
Point

ToWorldAsync(Point)

Converts pixel coordinate (relative to component's size) to world coordinate (0.0 - 1.0)

Declaration
public Task<Point> ToWorldAsync(Point pixel)
Parameters
Type Name Description
Point pixel
Returns
Type Description
System.Threading.Tasks.Task<Point>

ToWorldX(Double)

Declaration
public double ToWorldX(double x)
Parameters
Type Name Description
System.Double x
Returns
Type Description
System.Double

ToWorldXAsync(Double)

Converts pixel X coordinate (relative to component's width) to world coordinate (0.0 - 1.0)

Declaration
public Task<double> ToWorldXAsync(double x)
Parameters
Type Name Description
System.Double x
Returns
Type Description
System.Threading.Tasks.Task<System.Double>

ToWorldY(Double)

Declaration
public double ToWorldY(double y)
Parameters
Type Name Description
System.Double y
Returns
Type Description
System.Double

ToWorldYAsync(Double)

Converts pixel Y coordinate (relative to component's height) to world coordinate (0.0 - 1.0)

Declaration
public Task<double> ToWorldYAsync(double y)
Parameters
Type Name Description
System.Double y
Returns
Type Description
System.Threading.Tasks.Task<System.Double>

Implements

JsonSerializable
System.IDisposable