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
- InputProcessorProfiles.cs
- UpdateProgress.cs
- GPPOINTF.cs
- InstanceHandle.cs
- HttpCachePolicy.cs
- _SslState.cs
- ProjectionCamera.cs
- CheckBoxField.cs
- DelegatingTypeDescriptionProvider.cs
- WriteableBitmap.cs
- RegistrationServices.cs
- ClientConvert.cs
- WorkflowViewElement.cs
- RequiredFieldValidator.cs
- PersonalizablePropertyEntry.cs
- StorageTypeMapping.cs
- ControlTemplate.cs
- TextRange.cs
- PartEditor.cs
- Size.cs
- SqlFunctionAttribute.cs
- RenderCapability.cs
- LayoutEvent.cs
- _NestedMultipleAsyncResult.cs
- DigestComparer.cs
- BrowserCapabilitiesFactoryBase.cs
- InvalidPropValue.cs
- cryptoapiTransform.cs
- Attachment.cs
- XsltContext.cs
- TableLayoutPanelCellPosition.cs
- SynchronizedChannelCollection.cs
- ImagingCache.cs
- Aggregates.cs
- List.cs
- TextBoxView.cs
- localization.cs
- AsymmetricSignatureFormatter.cs
- MediaPlayer.cs
- RadioButton.cs
- RemotingConfigParser.cs
- TextSchema.cs
- QueryModel.cs
- RelationshipConverter.cs
- TextTreeTextBlock.cs
- ValueType.cs
- PreviewPrintController.cs
- SqlMethods.cs
- HttpClientCertificate.cs
- TextParaClient.cs
- HitTestDrawingContextWalker.cs
- FocusWithinProperty.cs
- XmlBaseReader.cs
- UnsafeNativeMethods.cs
- SqlNode.cs
- HtmlTitle.cs
- DependencyObjectType.cs
- ColorAnimationBase.cs
- FontWeight.cs
- EdmComplexTypeAttribute.cs
- HttpEncoderUtility.cs
- BrowserDefinition.cs
- BaseDataListDesigner.cs
- BuildProviderCollection.cs
- HMACMD5.cs
- DialogWindow.cs
- IndicFontClient.cs
- AuthenticatedStream.cs
- InkCollectionBehavior.cs
- parserscommon.cs
- AssociativeAggregationOperator.cs
- DataGridViewTopLeftHeaderCell.cs
- ComPlusDiagnosticTraceSchemas.cs
- Form.cs
- Literal.cs
- XmlReflectionMember.cs
- ProcessRequestArgs.cs
- QueryValue.cs
- CustomPopupPlacement.cs
- CombinedGeometry.cs
- DataComponentNameHandler.cs
- CallContext.cs
- GenericTypeParameterBuilder.cs
- DataGridViewBand.cs
- ProfileManager.cs
- DefaultEventAttribute.cs
- DataGridViewCellStyleChangedEventArgs.cs
- StateChangeEvent.cs
- CookieHandler.cs
- ClickablePoint.cs
- ChannelServices.cs
- GroupBox.cs
- SourceSwitch.cs
- StylusEditingBehavior.cs
- CryptoKeySecurity.cs
- Int32Converter.cs
- PriorityItem.cs
- RegexStringValidatorAttribute.cs
- SmtpFailedRecipientException.cs
- DbTransaction.cs