public AxisLabelStyle(AxisLabelStyle from) { _font = null == from._font ? null : (Font)from._font.Clone(); _stringFormat = (StringFormat)from._stringFormat.Clone(); _horizontalAlignment = from._horizontalAlignment; _verticalAlignment = from._verticalAlignment; _brush = (BrushX)from._brush.Clone(); _automaticRotationShift = from._automaticRotationShift; _xOffset = from._xOffset; _yOffset = from._yOffset; _rotation = from._rotation; _backgroundStyle = null == from._backgroundStyle ? null : (IBackgroundStyle)from._backgroundStyle.Clone(); _labelFormatting = (ILabelFormatting)from._labelFormatting.Clone(); }
public LabelPlotStyle(LabelPlotStyle from) { this._font = (Font)from._font.Clone(); this._independentColor = from._independentColor; this._brush = (BrushX)from._brush.Clone(); this._xOffset = from._xOffset; this._yOffset = from._yOffset; this._rotation = from._rotation; this._backgroundStyle = null == from._backgroundStyle ? null : (IBackgroundStyle)from._backgroundStyle.Clone(); this._cachedStringFormat = (System.Drawing.StringFormat)from._cachedStringFormat.Clone(); this._attachedPlane = null == from._attachedPlane ? null : from._attachedPlane.Clone(); this._labelColumn = (Altaxo.Data.ReadableColumnProxy)from._labelColumn.Clone(); this._parent = from._parent; CreateEventChain(); }
public LabelPlotStyle(Altaxo.Data.IReadableColumn labelColumn) { this._font = new Font(System.Drawing.FontFamily.GenericSansSerif, 8, GraphicsUnit.World); this._independentColor = false; this._brush = new BrushX(Color.Black); this._xOffset = 0; this._yOffset = 0; this._rotation = 0; this._backgroundStyle = null; this._cachedStringFormat = new StringFormat(StringFormatFlags.NoWrap); this._cachedStringFormat.Alignment = System.Drawing.StringAlignment.Center; this._cachedStringFormat.LineAlignment = System.Drawing.StringAlignment.Center; this._attachedPlane = null; this._labelColumn = new Altaxo.Data.ReadableColumnProxy(labelColumn); CreateEventChain(); }
public AxisLabelStyle(AxisLabelStyle from) { _font = null==from._font ? null : (Font)from._font.Clone(); _stringFormat = (StringFormat)from._stringFormat.Clone(); _horizontalAlignment = from._horizontalAlignment; _verticalAlignment = from._verticalAlignment; _brush = (BrushX)from._brush.Clone(); _automaticRotationShift = from._automaticRotationShift; _xOffset = from._xOffset; _yOffset = from._yOffset; _rotation = from._rotation; _backgroundStyle = null==from._backgroundStyle ? null : (IBackgroundStyle)from._backgroundStyle.Clone(); _labelFormatting = (ILabelFormatting)from._labelFormatting.Clone(); }
public LabelPlotStyle(Altaxo.Data.IReadableColumn labelColumn) { this._font = new Font(System.Drawing.FontFamily.GenericSansSerif, 8, GraphicsUnit.World); this._independentColor = false; this._brush = new BrushX(Color.Black); this._xOffset = 0; this._yOffset = 0; this._rotation = 0; this._backgroundStyle = null; this._cachedStringFormat = new StringFormat(StringFormatFlags.NoWrap); this._cachedStringFormat.Alignment = System.Drawing.StringAlignment.Center; this._cachedStringFormat.LineAlignment = System.Drawing.StringAlignment.Center; this._attachedPlane = null; this._labelColumn = new Altaxo.Data.ReadableColumnProxy(labelColumn); CreateEventChain(); }
public LabelPlotStyle(LabelPlotStyle from) { this._font = (Font)from._font.Clone(); this._independentColor = from._independentColor; this._brush = (BrushX)from._brush.Clone(); this._xOffset = from._xOffset; this._yOffset = from._yOffset; this._rotation = from._rotation; this._backgroundStyle = null == from._backgroundStyle ? null : (IBackgroundStyle)from._backgroundStyle.Clone(); this._cachedStringFormat = (System.Drawing.StringFormat)from._cachedStringFormat.Clone(); this._attachedPlane = null==from._attachedPlane ? null : from._attachedPlane.Clone(); this._labelColumn = (Altaxo.Data.ReadableColumnProxy)from._labelColumn.Clone(); this._parent = from._parent; CreateEventChain(); }