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
- JapaneseLunisolarCalendar.cs
- TableItemProviderWrapper.cs
- ExtractorMetadata.cs
- ISAPIRuntime.cs
- Form.cs
- EUCJPEncoding.cs
- CompositionCommandSet.cs
- MatrixCamera.cs
- XhtmlBasicPanelAdapter.cs
- SkinBuilder.cs
- TransactionManager.cs
- PropertyDescriptorGridEntry.cs
- LookupNode.cs
- SaveFileDialog.cs
- DayRenderEvent.cs
- WindowsToolbarAsMenu.cs
- BindToObject.cs
- AvTraceDetails.cs
- ScrollViewerAutomationPeer.cs
- TextChange.cs
- WsiProfilesElement.cs
- MailWebEventProvider.cs
- EditBehavior.cs
- CodeStatement.cs
- M3DUtil.cs
- SynchronizationHandlesCodeDomSerializer.cs
- Form.cs
- AnnotationMap.cs
- HTTPRemotingHandler.cs
- Int64AnimationUsingKeyFrames.cs
- Point3D.cs
- EdmProviderManifest.cs
- CryptoConfig.cs
- XmlIlTypeHelper.cs
- LicenseException.cs
- DownloadProgressEventArgs.cs
- RIPEMD160.cs
- List.cs
- Viewport3DAutomationPeer.cs
- StylusLogic.cs
- httpserverutility.cs
- SortKey.cs
- DashStyles.cs
- AesManaged.cs
- DrawingVisualDrawingContext.cs
- Event.cs
- BackgroundWorker.cs
- DocumentReference.cs
- DataRecordObjectView.cs
- Parameter.cs
- PointIndependentAnimationStorage.cs
- XmlDataSourceNodeDescriptor.cs
- HttpHandlersSection.cs
- RuleSettingsCollection.cs
- TemplatedMailWebEventProvider.cs
- HandleRef.cs
- SchemaImporterExtensionElementCollection.cs
- MethodImplAttribute.cs
- ExpressionPrinter.cs
- FieldToken.cs
- SqlVersion.cs
- UpdateCompiler.cs
- FunctionGenerator.cs
- GroupByExpressionRewriter.cs
- Point4D.cs
- mediapermission.cs
- ProfileProvider.cs
- EntityDesignerDataSourceView.cs
- ImageKeyConverter.cs
- WebPartDisplayModeEventArgs.cs
- APCustomTypeDescriptor.cs
- Enum.cs
- SmtpDigestAuthenticationModule.cs
- VisualStateChangedEventArgs.cs
- TextTreeFixupNode.cs
- TextFormatterContext.cs
- StructuredProperty.cs
- SQLDateTime.cs
- DragEventArgs.cs
- LogPolicy.cs
- ResponseBodyWriter.cs
- DesignerTextViewAdapter.cs
- ForeignKeyFactory.cs
- HostingPreferredMapPath.cs
- MimeParameterWriter.cs
- PageCache.cs
- XmlSubtreeReader.cs
- MimeMapping.cs
- StrokeRenderer.cs
- PackageRelationshipSelector.cs
- MetaForeignKeyColumn.cs
- Adorner.cs
- ByteAnimationBase.cs
- WinFormsSecurity.cs
- RedistVersionInfo.cs
- TableLayoutPanel.cs
- RightsManagementInformation.cs
- FastEncoderWindow.cs
- PtsCache.cs
- SafeFileMapViewHandle.cs