Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CommonUI / System / Drawing / Advanced / ColorBlend.cs / 1 / ColorBlend.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Drawing2D { using System.Diagnostics; using System; using System.Drawing; ////// /// Defines arrays of colors and positions used /// for interpolating color blending in a gradient. /// public sealed class ColorBlend { Color[] colors; float[] positions; ////// /// Initializes a new instance of the public ColorBlend() { colors = new Color[1]; positions = new float[1]; } ///class. /// /// /// public ColorBlend(int count) { colors = new Color[count]; positions = new float[count]; } ////// Initializes a new instance of the ///class with the specified number of /// colors and positions. /// /// /// Represents an array of colors. /// public Color[] Colors { get { return colors; } set { colors = value; } } ////// /// Represents the positions along a gradient /// line. /// 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 arrays of colors and positions used /// for interpolating color blending in a gradient. /// public sealed class ColorBlend { Color[] colors; float[] positions; ////// /// Initializes a new instance of the public ColorBlend() { colors = new Color[1]; positions = new float[1]; } ///class. /// /// /// public ColorBlend(int count) { colors = new Color[count]; positions = new float[count]; } ////// Initializes a new instance of the ///class with the specified number of /// colors and positions. /// /// /// Represents an array of colors. /// public Color[] Colors { get { return colors; } set { colors = value; } } ////// /// Represents the positions along a gradient /// line. /// 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
- RuntimeCompatibilityAttribute.cs
- SHA512.cs
- ComplexLine.cs
- NameService.cs
- Deserializer.cs
- ProcessModelSection.cs
- WebPartUtil.cs
- BamlBinaryReader.cs
- DataTransferEventArgs.cs
- Transform.cs
- TemplateBindingExtension.cs
- OdbcConnection.cs
- IgnoreSectionHandler.cs
- ExcCanonicalXml.cs
- dbdatarecord.cs
- RewritingProcessor.cs
- SystemWebExtensionsSectionGroup.cs
- PasswordRecovery.cs
- ContractValidationHelper.cs
- Point4D.cs
- HandlerBase.cs
- SqlBuffer.cs
- ListViewGroupItemCollection.cs
- TextDecoration.cs
- CachedBitmap.cs
- BuildProvider.cs
- PrintingPermission.cs
- Padding.cs
- BindingGraph.cs
- DataRowChangeEvent.cs
- TextServicesContext.cs
- Mouse.cs
- XmlSerializationGeneratedCode.cs
- ColumnTypeConverter.cs
- X509WindowsSecurityToken.cs
- OdbcError.cs
- HttpCacheParams.cs
- ToolStripRenderer.cs
- SelectionWordBreaker.cs
- CheckBox.cs
- TextDpi.cs
- shaperfactoryquerycachekey.cs
- VirtualizingStackPanel.cs
- RedirectionProxy.cs
- XmlSchemaInclude.cs
- XPathParser.cs
- ProgressiveCrcCalculatingStream.cs
- SqlUserDefinedAggregateAttribute.cs
- Hyperlink.cs
- ScopelessEnumAttribute.cs
- NamespaceTable.cs
- CalendarDay.cs
- BinaryVersion.cs
- Model3D.cs
- HotSpot.cs
- EventInfo.cs
- TextProperties.cs
- TreeNodeClickEventArgs.cs
- PropertyBuilder.cs
- IdleTimeoutMonitor.cs
- BuildManagerHost.cs
- ListenerBinder.cs
- BinaryFormatter.cs
- ContractTypeNameElement.cs
- RemotingAttributes.cs
- RenderDataDrawingContext.cs
- SqlClientWrapperSmiStream.cs
- MSG.cs
- HMACSHA512.cs
- WebPartDescription.cs
- ZipArchive.cs
- EraserBehavior.cs
- Bidi.cs
- __FastResourceComparer.cs
- MonthChangedEventArgs.cs
- KeyValueInternalCollection.cs
- WindowExtensionMethods.cs
- Transform3DGroup.cs
- OpenTypeLayout.cs
- AppSettings.cs
- StorageScalarPropertyMapping.cs
- VirtualPath.cs
- ObjectTypeMapping.cs
- UnsafeNativeMethods.cs
- DescendentsWalkerBase.cs
- StrongNameSignatureInformation.cs
- MenuTracker.cs
- OleDbFactory.cs
- SQLBytes.cs
- SByteStorage.cs
- DeviceContext.cs
- DuplicateContext.cs
- InstanceOwner.cs
- FieldNameLookup.cs
- WebPartTransformerAttribute.cs
- WeakEventTable.cs
- Internal.cs
- PieceDirectory.cs
- DynamicVirtualDiscoSearcher.cs
- TraceSection.cs