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
- ApplicationManager.cs
- ServiceInfo.cs
- ExitEventArgs.cs
- arc.cs
- RSAOAEPKeyExchangeFormatter.cs
- VarInfo.cs
- MergePropertyDescriptor.cs
- AdapterUtil.cs
- SoapSchemaExporter.cs
- FormViewUpdateEventArgs.cs
- TextTreeTextElementNode.cs
- Rules.cs
- PointCollectionValueSerializer.cs
- WebPartConnectionsDisconnectVerb.cs
- ProfilePropertyMetadata.cs
- JoinGraph.cs
- clipboard.cs
- XmlSerializerNamespaces.cs
- RouteUrlExpressionBuilder.cs
- TextBlock.cs
- FlagsAttribute.cs
- CodeAttributeArgument.cs
- DebugHandleTracker.cs
- Cursors.cs
- __Filters.cs
- SqlDataRecord.cs
- SystemInfo.cs
- EllipseGeometry.cs
- JsonReaderDelegator.cs
- ByteStreamGeometryContext.cs
- LineGeometry.cs
- InternalDispatchObject.cs
- Metadata.cs
- TextBoxLine.cs
- CodeGenHelper.cs
- DesignSurfaceServiceContainer.cs
- OleDbParameter.cs
- EmbeddedMailObject.cs
- LocalIdCollection.cs
- ChtmlPhoneCallAdapter.cs
- StylusPointPropertyInfo.cs
- PersonalizationStateInfoCollection.cs
- DateTimeValueSerializerContext.cs
- MessageLogger.cs
- PersistenceTypeAttribute.cs
- nulltextcontainer.cs
- FaultCallbackWrapper.cs
- ComplexBindingPropertiesAttribute.cs
- Membership.cs
- Menu.cs
- LinqExpressionNormalizer.cs
- CompositeControl.cs
- RegistryKey.cs
- autovalidator.cs
- EntitySqlQueryState.cs
- AnnotationService.cs
- COM2ExtendedBrowsingHandler.cs
- DataTablePropertyDescriptor.cs
- ObjectContextServiceProvider.cs
- RectangleGeometry.cs
- TopClause.cs
- TableCell.cs
- StandardTransformFactory.cs
- CommonRemoteMemoryBlock.cs
- wgx_exports.cs
- PersonalizationAdministration.cs
- WindowsListViewSubItem.cs
- sqlstateclientmanager.cs
- PrefixHandle.cs
- TextEvent.cs
- BindingParameterCollection.cs
- FilterEventArgs.cs
- QueryContinueDragEvent.cs
- DescendantBaseQuery.cs
- CallSiteBinder.cs
- AQNBuilder.cs
- MeasurementDCInfo.cs
- PrePrepareMethodAttribute.cs
- ManipulationDevice.cs
- ImageDrawing.cs
- Block.cs
- BamlLocalizabilityResolver.cs
- ClientSession.cs
- AspNetSynchronizationContext.cs
- CredentialCache.cs
- TimerElapsedEvenArgs.cs
- LiteralTextParser.cs
- SecurityAppliedMessage.cs
- PersonalizationProviderCollection.cs
- BackStopAuthenticationModule.cs
- NotifyInputEventArgs.cs
- ErrorRuntimeConfig.cs
- SqlTrackingWorkflowInstance.cs
- StreamInfo.cs
- FontCacheUtil.cs
- PopupControlService.cs
- WrappedIUnknown.cs
- DomainConstraint.cs
- ViewValidator.cs
- RegexCode.cs