BasePointMarker

StockSharp.Xaml.Charting.Visuals.PointMarkers

Базовый класс для точечных маркеров, отображаемых в растровом изображении, которые представляют собой небольшие маркеры, рисуемые один раз для каждой точки данных на BaseRenderableSeries.

Наследует: ContentControl

Реализует: IPointMarker

Конструкторы

BasePointMarker
protected BasePointMarker()
basePointMarker = BasePointMarker()

Инициирует новый экземпляр класса BasePointMarker.

Свойства

AntiAliasing
public bool AntiAliasing { get; set; }
value = basePointMarker.AntiAliasing
basePointMarker.AntiAliasing = value

Получает или устанавливает свойство AntiAliasing, которое используется при рисовании хода

EnableMultithreadedDrawing
public static bool EnableMultithreadedDrawing { get; set; }
value = BasePointMarker.EnableMultithreadedDrawing
BasePointMarker.EnableMultithreadedDrawing = value

ПРОТОТЫП ТОЛЬКО: Включает MultiThreaded Чертеж для определенных типов производных BasePointMarker

Fill
public Color Fill { get; set; }
value = basePointMarker.Fill
basePointMarker.Fill = value

Получает или устанавливает сплошной цвет Заполнитель PointMarker. Может быть Прозрачным, чтобы игнорировать

PointMarkerTemplate
public ControlTemplate PointMarkerTemplate { get; set; }
value = basePointMarker.PointMarkerTemplate
basePointMarker.PointMarkerTemplate = value

Получает или устанавливает PointMarkerControlTemplate, который определяет маркер точки Visual, который будет отображаться на каждой точке данных серии.

Stroke
public Color Stroke { get; set; }
value = basePointMarker.Stroke
basePointMarker.Stroke = value

Получает или устанавливает инсульт (набросок) PointMarker. может быть прозрачным, чтобы игнорировать

StrokeThickness
public double StrokeThickness { get; set; }
value = basePointMarker.StrokeThickness
basePointMarker.StrokeThickness = value

Получает или устанавливает StrokeThickness PointMarker stroke.

Методы

Begin
public virtual void Begin(IRenderContext2D context, IPen2D defaultPen, IBrush2D defaultBrush)
basePointMarker.Begin(context, defaultPen, defaultBrush)

Называется, когда начнется операция по вытягиванию. Все последующие операции розыгрыша будут иметь одинаковую ширину, высоту, рендер-контекст и ручку, щетку

Dispose
public virtual void Dispose()
basePointMarker.Dispose()

Утилизирует любые кэшированные ресурсы, e.g. когда заполнение или инсульт изменены, любые кэшированные ручки или кисти также утилизируются.

Draw
public virtual void Draw(IRenderContext2D context, IEnumerable<Point> centers)
basePointMarker.Draw(context, centers)

Отображает PointMarker на каждой точке, прошедшей с значениями Fill и Stroke. Каждая точка является координатой в центре PointMarker.

context
RenderContext, чтобы рисовать тоже
centers
Коллекция очков для маркировки очков в
DrawInternal
protected abstract void DrawInternal(IRenderContext2D context, double x, double y, IPen2D pen, IBrush2D brush)
basePointMarker.DrawInternal(context, x, y, pen, brush)

При переопределении в производном классе рисует точечные маркеры в указанной координате x,y пикселей

context
RenderContext, чтобы рисовать
x
X-координата для рисования
y
y-координата для рисования
pen
Ручка Stroke по умолчанию (если не установлена текущая ручка)
brush
Заполните кисть по умолчанию (если текущая кисть не установлена)
DrawInternal
protected abstract void DrawInternal(IRenderContext2D context, IEnumerable<Point> centers, IPen2D pen, IBrush2D brush)
basePointMarker.DrawInternal(context, centers, pen, brush)

При переопределении в производном классе рисует маркеры точек в указанном наборе центров точек.

context
RenderContext, чтобы рисовать
centers
Центры маркеров точек
pen
Ручка Stroke по умолчанию (если не установлена текущая ручка)
brush
Заполните кисть по умолчанию (если текущая кисть не установлена)
End
public virtual void End(IRenderContext2D context)
basePointMarker.End(context)

Завершает операцию вытягивания партии

OnPropertyChanged
protected virtual void OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
basePointMarker.OnPropertyChanged(d, e)

Должно быть вызвано, когда любое значение DependencyProperty изменяется в классе производных BasePointMarker

d
Отправитель
e
Аргументы

Поля

AntiAliasingProperty
public static readonly DependencyProperty AntiAliasingProperty
value = BasePointMarker.AntiAliasingProperty

Определяет AntiAliasing DependencyProperty

FillProperty
public static readonly DependencyProperty FillProperty
value = BasePointMarker.FillProperty

Определяет заливку DependencyProperty

PointMarkerTemplateProperty
public static readonly DependencyProperty PointMarkerTemplateProperty
value = BasePointMarker.PointMarkerTemplateProperty

Определяет PointMarkerTemplate DependencyProperty

StrokeProperty
public static readonly DependencyProperty StrokeProperty
value = BasePointMarker.StrokeProperty

Определяет обводку DependencyProperty

StrokeThicknessProperty
public static readonly DependencyProperty StrokeThicknessProperty
value = BasePointMarker.StrokeThicknessProperty

Определяет StrokeThickness DependencyProperty