首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏蒙奇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

    46710编辑于 2025-12-28
  • 来自专栏蒙奇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}

    74150编辑于 2025-12-30
  • 来自专栏蒙奇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}{

    36310编辑于 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

    2K00发布于 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

    33010编辑于 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

    2K20编辑于 2022-12-07
  • 来自专栏全栈程序员必看

    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.4K10编辑于 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

    7.7K20编辑于 2022-09-06
  • 来自专栏日常技术分享

    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

    5K30发布于 2018-09-13
  • 来自专栏一“技”之长

    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;     

    79040发布于 2018-08-16
  • 来自专栏大前端(横向跨端 & 纵向全栈)

    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

    4.7K30发布于 2020-12-31
  • 来自专栏大前端(横向跨端 & 纵向全栈)

    Flutter中的按钮组件Button

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

    5.4K10编辑于 2022-05-06
  • 来自专栏老欧说安卓

    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.8K30发布于 2019-01-18
  • 来自专栏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

    89140发布于 2019-09-02
  • 来自专栏全栈程序员必看

    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.4K41编辑于 2022-09-06
  • 来自专栏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

    2.9K21发布于 2021-09-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

    59920发布于 2019-09-10
  • 移动开发(六):.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.4K11编辑于 2024-09-18
  • 来自专栏Qt项目实战

    Qt编写自定义控件38-高亮按钮

    endif { Q_OBJECT Q_PROPERTY(QString text READ getText WRITE setText) Q_PROPERTY(QColor textColor //设置文本 void setText(const QString &text); //设置文本颜色 void setTextColor(const QColor &textColor ) { if (this->textColor ! = textColor) { this->textColor = textColor; update(); } } void LightButton::setAlarmColor = QColor(255, 255, 255); bgColor = normalColor; } else { textColor = QColor(255,

    2.4K00发布于 2019-08-27
  • vue2 实现数字滚动效果,翻页效果

    {{ item }} <div class="number" v-else :style="{ color: <em>TextColor</em> "ScrollNumber", props: { value: { type: [String, Number], default: 0, }, TextColor ": this.TextColor, }; }, }, data() { return { hasShow: false, // 是否已展示过动画 // TextColor: "red", }; }, mounted() { window.addEventListener("scroll", this.scrollHandle ="TextColor"></FlipItemVue> <button @click="NumChangeFn">点击变更数字</button>

    </template> <script

    36610编辑于 2025-12-15
领券