Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Advanced / Blend.cs / 1305376 / Blend.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Drawing.Drawing2D {
using System.Diagnostics;
using System;
using System.Drawing;
///
///
///
/// Defines a blend pattern for a
/// .
///
///
public sealed class Blend {
float[] factors;
float[] positions;
///
///
///
/// Initializes a new instance of the
/// class.
///
///
public Blend() {
factors = new float[1];
positions = new float[1];
}
///
///
///
/// Initializes a new instance of the
/// class with the specified number of factors and positions.
///
///
public Blend(int count) {
factors = new float[count];
positions = new float[count];
}
///
///
/// Specifies an array of blend factors for the
/// gradient.
///
public float[] Factors {
get {
return factors;
}
set {
factors = value;
}
}
///
///
///
/// Specifies an array of blend positions for the gradient.
///
///
public float[] Positions {
get {
return positions;
}
set {
positions = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CellParaClient.cs
- Configuration.cs
- CryptoKeySecurity.cs
- AnimationException.cs
- AutoGeneratedField.cs
- SecurityTimestamp.cs
- AxisAngleRotation3D.cs
- DispatcherExceptionFilterEventArgs.cs
- SystemIPv4InterfaceProperties.cs
- ComponentCommands.cs
- SqlExpander.cs
- ListViewItemEventArgs.cs
- EventDescriptorCollection.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- WebPart.cs
- DataGridViewRowPostPaintEventArgs.cs
- CustomLineCap.cs
- WebPart.cs
- CompiledELinqQueryState.cs
- TextEditorTables.cs
- BinHexEncoder.cs
- RemoteDebugger.cs
- Internal.cs
- RowUpdatingEventArgs.cs
- ToolboxItem.cs
- TextServicesHost.cs
- httpapplicationstate.cs
- XmlNamespaceDeclarationsAttribute.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- ListViewInsertedEventArgs.cs
- ToolBarTray.cs
- PopupRootAutomationPeer.cs
- ColorConverter.cs
- WebPartZoneCollection.cs
- DataView.cs
- LabelDesigner.cs
- NativeMethods.cs
- PersonalizationEntry.cs
- DataSet.cs
- UserControl.cs
- CachedTypeface.cs
- SortExpressionBuilder.cs
- HtmlInputSubmit.cs
- StickyNoteHelper.cs
- CryptoApi.cs
- ParserOptions.cs
- ActivityCollectionMarkupSerializer.cs
- ToolStripContentPanelRenderEventArgs.cs
- FixedSOMPageConstructor.cs
- DetailsViewPageEventArgs.cs
- TextEditorSpelling.cs
- SpeechUI.cs
- Image.cs
- DataGridViewCellLinkedList.cs
- RectangleConverter.cs
- TextContainer.cs
- XmlTextReaderImpl.cs
- StdValidatorsAndConverters.cs
- DbConnectionPool.cs
- DbMetaDataFactory.cs
- AutomationPropertyInfo.cs
- SAPIEngineTypes.cs
- BamlRecordReader.cs
- MostlySingletonList.cs
- OleDbInfoMessageEvent.cs
- HtmlElementCollection.cs
- PropertyChangedEventArgs.cs
- CopyOfAction.cs
- KnownBoxes.cs
- CalendarDay.cs
- CfgRule.cs
- listitem.cs
- EraserBehavior.cs
- CommonProperties.cs
- LicenseProviderAttribute.cs
- GridItemProviderWrapper.cs
- Stopwatch.cs
- RuleAction.cs
- XmlSerializerNamespaces.cs
- XPathDescendantIterator.cs
- CopyAction.cs
- ListBase.cs
- FunctionQuery.cs
- FormsAuthentication.cs
- ConnectionPoint.cs
- MethodRental.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- InputLanguageProfileNotifySink.cs
- pingexception.cs
- XmlJsonWriter.cs
- XmlChildEnumerator.cs
- CompatibleComparer.cs
- RsaSecurityTokenAuthenticator.cs
- StringInfo.cs
- Handle.cs
- X509Chain.cs
- XmlTextReaderImplHelpers.cs
- CommonXSendMessage.cs
- ModuleConfigurationInfo.cs
- ImageAutomationPeer.cs