Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CommonUI / System / Drawing / Advanced / Blend.cs / 1 / 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.
//------------------------------------------------------------------------------
//
// 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
- EventHandlerList.cs
- JsonFormatMapping.cs
- OletxResourceManager.cs
- SplitterCancelEvent.cs
- LicenseException.cs
- PluralizationServiceUtil.cs
- RoutedPropertyChangedEventArgs.cs
- SerializationObjectManager.cs
- CodeAttachEventStatement.cs
- OptimisticConcurrencyException.cs
- AssemblyResolver.cs
- ActionMessageFilter.cs
- XmlSerializerAssemblyAttribute.cs
- HandleCollector.cs
- ProxyAttribute.cs
- ProfileWorkflowElement.cs
- SignatureDescription.cs
- PkcsMisc.cs
- XmlTextAttribute.cs
- BrushValueSerializer.cs
- HashCodeCombiner.cs
- ApplyHostConfigurationBehavior.cs
- TextElementEnumerator.cs
- WebEventTraceProvider.cs
- SimpleType.cs
- CapabilitiesPattern.cs
- PngBitmapEncoder.cs
- EntityDataSourceWrapperCollection.cs
- MatchingStyle.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- ColorTransformHelper.cs
- CompilerInfo.cs
- XmlSerializer.cs
- CodeVariableDeclarationStatement.cs
- HttpClientCertificate.cs
- WorkflowTerminatedException.cs
- XPathDescendantIterator.cs
- OptimalBreakSession.cs
- DelimitedListTraceListener.cs
- ServiceHost.cs
- InputLanguageProfileNotifySink.cs
- ThreadExceptionEvent.cs
- GroupLabel.cs
- ControlPropertyNameConverter.cs
- Util.cs
- MobileContainerDesigner.cs
- XmlElementList.cs
- MatchingStyle.cs
- SocketInformation.cs
- CellPartitioner.cs
- ScrollBarRenderer.cs
- CompiledIdentityConstraint.cs
- FirstQueryOperator.cs
- MediaTimeline.cs
- Cursor.cs
- TableCellAutomationPeer.cs
- AlphabeticalEnumConverter.cs
- ImageIndexConverter.cs
- ActivityTypeResolver.xaml.cs
- WebBrowserContainer.cs
- AppDomainProtocolHandler.cs
- SamlSubjectStatement.cs
- PassportAuthenticationModule.cs
- PassportAuthenticationModule.cs
- FacetChecker.cs
- StyleModeStack.cs
- sqlcontext.cs
- Operator.cs
- InstanceValue.cs
- DataStreams.cs
- XomlCompilerResults.cs
- CodeGotoStatement.cs
- DataBoundControlAdapter.cs
- DesignerActionItem.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- DataColumnPropertyDescriptor.cs
- ParseNumbers.cs
- TypeContext.cs
- dataprotectionpermissionattribute.cs
- CodeMemberField.cs
- PageCatalogPart.cs
- CompoundFileDeflateTransform.cs
- StylusButtonEventArgs.cs
- TimeSpanStorage.cs
- WebPartConnectionCollection.cs
- InstanceStore.cs
- PageThemeParser.cs
- SqlStatistics.cs
- FormViewInsertEventArgs.cs
- WpfSharedXamlSchemaContext.cs
- RIPEMD160Managed.cs
- XmlDataContract.cs
- DataControlFieldCell.cs
- SmiContextFactory.cs
- ImageDesigner.cs
- ToolStripDropTargetManager.cs
- ClientOperationFormatterProvider.cs
- SoapFaultCodes.cs
- ThreadInterruptedException.cs
- DictionaryContent.cs