首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏蒙奇D索隆的学习笔记

    【数据结构】排序算法精讲 | 快速排序全解:分治思想、核心步骤与示例演示

    }{4}$ $\textcolor{black}{3}$ $\textcolor{black}{2}$ $\textcolor{black}{1}$ $\textcolor{black}{0}$ 左右指针 {red}{4}$ $\textcolor{black}{3}$ $\textcolor{black}{2}$ $\textcolor{black}{1}$ $\textcolor{blue}{0}$ 下标 1 2 3 4 初始状态: $\textcolor{red}{4}$ $\textcolor{blue}{3}$ $\textcolor{black}{2}$ $\textcolor{black $\textcolor{black}{3}$ $\textcolor{blue}{2}$ $\textcolor{black}{1}$ $\textcolor{black}{0}$ 左右指针: 基准 1 2 3 4 交换前: $\textcolor{red}{4}$ $\textcolor{black}{3}$ $\textcolor{black}{2}$ $\textcolor{black}{1}

    82950编辑于 2025-12-30
  • 来自专栏蒙奇D索隆的学习笔记

    【数据结构】排序算法精讲 | 希尔排序全解:增量优化、性能跃升、实战剖析

    $ $\textcolor{red}{5}$ $\textcolor{blue}{4}$ $\textcolor{green}{3}$ $\textcolor{orange}{2}$ $\textcolor $ $\textcolor{blue}{4}$ $\textcolor{green}{3}$ $\textcolor{orange}{2}$ $\textcolor{black}{1}$ $\textcolor }$ $\textcolor{green}{8}$ $\textcolor{orange}{7}$ $\textcolor{black}{6}$ $\textcolor{red}{10}$ $\textcolor $\textcolor{red}{5}$ $\textcolor{blue}{9}$ $\textcolor{green}{8}$ $\textcolor{orange}{7}$ $\textcolor 10 $\textcolor{red}{0}$ $\textcolor{blue}{2}$ $\textcolor{red}{3}$ $\textcolor{blue}{4}$ $\textcolor

    51310编辑于 2025-12-28
  • 来自专栏蒙奇D索隆的学习笔记

    【数据结构】排序算法精讲 | 交换排序全解:交换思想、效率对比与实战代码剖析

    \textcolor{blue}{4}}$ $\bm{\textcolor{red}{5}}$ $\bm{\textcolor{black}{3}}$ $\bm{\textcolor{black}{2} bm{\textcolor{black}{4}}$ $\bm{\textcolor{blue}{3}}$ $\bm{\textcolor{red}{5}}$ $\bm{\textcolor{black} bm{\textcolor{black}{4}}$ $\bm{\textcolor{black}{3}}$ $\bm{\textcolor{blue}{2}}$ $\bm{\textcolor{red} bm{\textcolor{black}{4}}$ $\bm{\textcolor{black}{3}}$ $\bm{\textcolor{black}{2}}$ $\bm{\textcolor{blue \textcolor{blue}{3}}$ $\bm{\textcolor{black}{2}}$ $\bm{\textcolor{black}{1}}$ $\bm{\textcolor{black}{

    64310编辑于 2025-12-29
  • 来自专栏Qt项目实战

    Qt编写自定义控件34-磁盘容量统计

    = textColor1) { this->textColor1 = textColor1; this->load(); } } void DeviceSizeTable ::setTextColor2(const QColor &textColor2) { if (this->textColor2 ! = textColor2) { this->textColor2 = textColor2; this->load(); } } void DeviceSizeTable ::setTextColor3(const QColor &textColor3) { if (this->textColor3 ! = textColor3) { this->textColor3 = textColor3; this->load(); } } void DeviceSizeTable

    2.1K00发布于 2019-08-27
  • 来自专栏wordpress

    zibll主题论坛mini模式添加标签-6ke论坛

    : '#ffffff' }, { bg: '#6ecc71', textColor: '#ffffff' }, { bg: '#e74f5e', textColor: '#ffffff' }, { bg: '#ae5ac6', textColor: '#ffffff' }, { bg: '#177ddc', textColor: '#ffffff' }, { bg: '#686465', textColor : '#ffffff' }, { bg: '#a1624f', textColor: '#ffffff' }, { bg: '#c01d2f', textColor: '#ffffff' }, { bg: '#333147', textColor: '#ffffff' }, { bg: '#903539', textColor: '#ffffff' }, { bg: '#ff4500', textColor textColor: '#ffffff' }, { bg: '#c71585', textColor: '#ffffff' }, { bg: '#00bfff', textColor: '#ffffff

    43210编辑于 2024-10-03
  • 来自专栏JusterZhu

    (03).NET MAUI实战 基础控件

    DataTemplate> <ViewCell> <Label Text="我是listview item1" TextColor ="Red" Title="Tab1"> //Cell里也可以放其他内容 <TextCell TextColor="Red " Text="Item1"></TextCell> <TextCell TextColor="Red" Text="Item2" IsEnabled="False "></TextCell> </TableSection> <TableSection TextColor="Blue" Title="Tab2 "> <TextCell TextColor="Blue" Text="Item1"></TextCell> <TextCell

    2.1K20编辑于 2022-12-07
  • 来自专栏大前端(横向跨端 & 纵向全栈)

    Flutter 中的按钮组件

    值的类型为Widget; 3. textColor 文本颜色。值的类型为Colors; 4. color 按钮的颜色。值的类型为Colors; 5. disabledColor 按钮禁用时的颜色。 Colors.blue, // 文字颜色 textColor OutlineButton( child: Text('边框按钮'), textColor color:Colors.blue, textColor color:Colors.blue, textColor

    5.4K30发布于 2020-12-31
  • 来自专栏全栈程序员必看

    Android布局详解:FrameLayout[通俗易懂]

    layout_width=“fill_parent” android:layout_height=“wrap_content” android:textSize=“50sp” android:textColor layout_width=“fill_parent” android:layout_height=“wrap_content” android:textSize=“40sp” android:textColor layout_width=“fill_parent” android:layout_height=“wrap_content” android:textSize=“30sp” android:textColor layout_width=“fill_parent” android:layout_height=“wrap_content” android:textSize=“20sp” android:textColor “wrap_content” android:layout_height=“wrap_content” android:textSize=“30dip” android:textColor

    1.5K10编辑于 2022-09-05
  • 来自专栏全栈程序员必看

    C语言怎么改变窗口的字体颜色和背景颜色?

    不过为了更好地运用和记忆,可以将这个系统函数封装一下; void setColor(unsigned short backColor=0, unsigned short textColor=7){ char ; //将textColor变量改为字符型 system(command); //调用系统函数 } int main(){ setColor(1,2); //setColor(blue ; //将textColor变量改为字符型 system(command); //调用系统函数 } int main(){ for(int i=0; i<10; i++){ ) { if(textColor>=0 && textColor<=15) SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE ), textColor); else SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 7); } int main

    8.2K20编辑于 2022-09-06
  • 来自专栏一“技”之长

    iOS程序框架设计之皮肤切换功能 原

                _btnColor=[UIColor colorWithRed:10/255.0 green:85/255.0 blue:160/255.0 alpha:1];             _textColor     [model getTopicModel];     //进行设置     self.view.backgroundColor = model.bgColor;     _schoolLabel.textColor  = model.textColor;     _phoneLabel.textColor = model.textColor;     _secertLabel.textColor = model.textColor ;     _reWriteSecretLabel.textColor = model.textColor;     _questionLabel.textColor = model.textColor ;     _answerLabel.textColor = model.textColor;     _registBtn.backgroundColor = model.btnColor;     

    91240发布于 2018-08-16
  • 移动开发(六):.NET MAUI中布局笔记介绍

    HeightRequest="50" HorizontalOptions="Center" Margin="5" Style="{StaticResource ButtonStyle}" BorderWidth="1" TextColor HeightRequest="50" HorizontalOptions="Center" Margin="5" Style="{StaticResource ButtonStyle}" BorderWidth="1" TextColor HeightRequest="50" HorizontalOptions="Center" Margin="5" Style="{StaticResource ButtonStyle}" BorderWidth="1" TextColor HeightRequest="50" HorizontalOptions="Center" Margin="5" Style="{StaticResource ButtonStyle}" BorderWidth="1" TextColor HeightRequest="50" HorizontalOptions="Center" Margin="5" Style="{StaticResource ButtonStyle}" BorderWidth="1" TextColor

    1.8K11编辑于 2024-09-18
  • 来自专栏日常技术分享

    ios设置文本的边框颜色

    比如要实现一个这种效果,当然可能有现成的第三方库,但是几行代码能搞定的就为了这一个功能导入一个库代价还是有点大,那么我们就来自己实现 代码很简单 /** 空心字体 @param str 文本 @param textColor @param strokeWidth 文件边框宽度 @return 文本 */ +(NSMutableAttributedString *)textHollow:(NSString *)str textColor :(UIColor *)textColor textBorderColor:(UIColor *)textBorderColor strokeWidth:(CGFloat)strokeWidth { : [NSNumber numberWithFloat:strokeWidth], NSForegroundColorAttributeName:textColor self.progressLabel.attributedText = [NSString textHollow:[NSString stringWithFormat:@"%.0f",progress] textColor

    5.6K30发布于 2018-09-13
  • 来自专栏老欧说安卓

    Kotlin入门(24)如何自定义视图

    仍旧以翻页标题栏PagerTabStrip举例,现在给它新增两个自定义属性,分别是文本颜色textColor,以及文本大小textSize。下面给出Java编码的自定义步骤: 1. 在res\values目录下创建attrs.xml,文件内容如下所示,其中declare-styleable的name属性值表示新视图的名称,两个attr节点表示新增的两个属性分别是textColor和 textSize: <resources>     <declare-styleable name="CustomPagerTab">         <attr name="<em>textColor</em>" format CustomPagerTab.java,填入以下自定义视图的代码: public class CustomPagerTab extends PagerTabStrip {     private int textColor = attrArray.getColor(R.styleable.CustomPagerTab_textColor, textColor);             textSize = attrArray.getDimensionPixelSize

    1.9K30发布于 2019-01-18
  • 来自专栏大前端(横向跨端 & 纵向全栈)

    Flutter中的按钮组件Button

    Colors.blue, // 文字颜色 textColor OutlineButton( child: Text('边框按钮'), textColor color:Colors.blue, textColor color:Colors.blue, textColor color:Colors.blue, textColor

    6K10编辑于 2022-05-06
  • 来自专栏Android小菜鸡

    Android 简单实现控件滑动固定效果

    android:gravity="center" android:text="头部布局" android:textColor android:gravity="center" android:text="固定布局" android:textColor android:gravity="center" android:text="列表布局" android:textColor android:gravity="center" android:text="列表布局" android:textColor android:gravity="center" android:text="列表布局" android:textColor

    2.7K30发布于 2018-09-06
  • 来自专栏全栈程序员必看

    C语言输出的字体和背景颜色你会设置吗!

    void color(const unsigned short textColor) //自定义函根据参数改变颜色 { if(textColor>=0 && textColor <=15) //参数在0-15的范围颜色 SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), textColor) ) { if(textColor>=0 && textColor<=15) SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE ), textColor); else SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 7); } int main ) { if(textColor>=0 && textColor<=15) SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE

    7.6K41编辑于 2022-09-06
  • 来自专栏AndroidStudio初识

    六大布局之RelativeLayout

    ="true" android:background="@color/colorPrimary" android:text="左上角" android:textColor ="true" android:background="@color/colorPrimary" android:text="右上角" android:textColor ="true" android:background="@color/colorPrimary" android:text="左下角" android:textColor ="true" android:background="@color/colorPrimary" android:text="右下角" android:textColor "true" android:background="@color/colorPrimary" android:text="中间居中" android:textColor

    95740发布于 2019-09-02
  • 来自专栏github@hornhuang

    Android登录界面设计

    /注册" android:textColor="#bfffffff" /> <TextView android:id="@+id/tv_forget" /找回" android:textColor="#bfffffff"/> <Button android:id="@+id/login" android 60dp" android:background="@drawable/shape_button" android:text="账号登录" android:textColor layout_marginTop="-186dp" android:hint="密码" android:password="true" android:textColor shape_button" android:text="保 存" android:textSize="20dp" android:textColor

    3.2K21发布于 2021-09-24
  • 来自专栏项勇

    XYLibrary笔记三:XToast使用笔记

    android.permission.SYSTEM_ALERT_WINDOW"/> 示例: ToastUtils.make(this) .Text("AAAAAA") .TextColor 1; private static ToastUtils mToastView; private static String Text = ""; private static int TextColor (int color){ TextColor = color; return mToastView; } public ToastUtils TextColor(String color ){ TextColor = ConvertUtils.string2color(color); return mToastView; } public ToastUtils = null) { mView.setText(Text); mView.setTextColor(TextColor); mView.setPadding(10,

    54220编辑于 2023-03-24
  • 来自专栏陶士涵的菜地

    [android] 天气app布局练习

    layout_centerHorizontal="true" android:layout_marginTop="12dp" android:text="北京" android:textColor tv_number" android:layout_toRightOf="@id/tv_number" android:text="°" android:textColor android:layout_centerHorizontal="true" android:text="多云" android:textColor android:layout_centerHorizontal="true" android:text=" | " android:textColor android:layout_centerHorizontal="true" android:text="空气优" android:textColor

    66620发布于 2019-09-10
领券